ResKnife/Cocoa/Plug-Ins/Notifications.m
2009-11-08 14:07:22 +00:00

22 lines
1.3 KiB
Objective-C

/* Notifications.
Include this file in your target to access these notifications.
Note: when using internal notifications in your own plug-in, DO NOT use [NSNotificationCenter defaultCenter]. This is an application-wide notificaton center, use of it by plug-ins for their own means (i.e. not interacting with ResKnife) can cause conflicts with other plug-ins. You should create your own notification center and post to that.
*/
#import <Foundation/Foundation.h>
NSString *ResourceWillChangeNotification = @"ResourceWillChange";
NSString *ResourceNameWillChangeNotification = @"ResourceNameWillChange";
NSString *ResourceTypeWillChangeNotification = @"ResourceTypeWillChange";
NSString *ResourceIDWillChangeNotification = @"ResourceIDWillChange";
NSString *ResourceAttributesWillChangeNotification = @"ResourceAttributesWillChange";
NSString *ResourceDataWillChangeNotification = @"ResourceDataWillChange";
NSString *ResourceNameDidChangeNotification = @"ResourceNameDidChange";
NSString *ResourceTypeDidChangeNotification = @"ResourceTypeDidChange";
NSString *ResourceIDDidChangeNotification = @"ResourceIDDidChange";
NSString *ResourceAttributesDidChangeNotification = @"ResourceAttributesDidChange";
NSString *ResourceDataDidChangeNotification = @"ResourceDataDidChange";
NSString *ResourceDidChangeNotification = @"ResourceDidChange";