comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/program/Program.d @ 36:d46287db17ed

rakefile reorg, swt win phobosification
author Frank Benoit <benoit@tionex.de>
date Tue, 24 Mar 2009 08:48:41 +0100
parents 950d84783eac
children 2e09b0e6857a
comparison
equal deleted inserted replaced
35:634e4380db78 36:d46287db17ed
396 * @param other the object to compare with this object 396 * @param other the object to compare with this object
397 * @return <code>true</code> if the object is the same as this object and <code>false</code> otherwise 397 * @return <code>true</code> if the object is the same as this object and <code>false</code> otherwise
398 * 398 *
399 * @see #hashCode() 399 * @see #hashCode()
400 */ 400 */
401 public override int opEquals(Object other) { 401 public override equals_t opEquals(Object other) {
402 if (this is other) return true; 402 if (this is other) return true;
403 if ( auto program = cast(Program)other ) { 403 if ( auto program = cast(Program)other ) {
404 return name.equals(program.name) && command.equals(program.command) 404 return name.equals(program.name) && command.equals(program.command)
405 && iconName.equals(program.iconName); 405 && iconName.equals(program.iconName);
406 } 406 }