Changeset 19843

Show
Ignore:
Timestamp:
02/28/07 18:27:54 (2 years ago)
Author:
patrick
Message:

Renamed WindowObserver? to InputWindowObserver?. Since Objective-C does not
have namespaces, this name qualification is important to reduce the
likelihood of conflicting with another class named WindowObserver?.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/gadgeteer/gadget/Devices/KeyboardMouseDevice/InputWindowCocoa.mm

    r19838 r19843  
    5555 * entities (such as the user). 
    5656 */ 
    57 @interface WindowObserver : NSObject 
     57@interface InputWindowObserver : NSObject 
    5858{ 
    5959   gadget::InputWindowCocoa* mWindow; 
     
    6666@end 
    6767 
    68 @implementation WindowObserver 
     68@implementation InputWindowObserver 
    6969   -(id) initWithWindow:(gadget::InputWindowCocoa*) window 
    7070   { 
     
    249249      // from mCocoaWindow. We do this so that we can be told if the window 
    250250      // gets closed by some external entity. 
    251       WindowObserver* observer = [[WindowObserver alloc] initWithWindow:this]; 
     251      InputWindowObserver* observer = 
     252         [[InputWindowObserver alloc] initWithWindow:this]; 
    252253      NSNotificationCenter* nc = [NSNotificationCenter defaultCenter]; 
    253254      [nc addObserver:observer