ResKnife/Cocoa/Plug-Ins/ResKnifePluginProtocol.h

14 lines
625 B
C
Raw Normal View History

2002-02-02 11:48:54 +00:00
#import <Foundation/Foundation.h>
#import "ResKnifeResourceProtocol.h"
2002-02-02 11:48:54 +00:00
/* Your plug-in's principle class must implement initWithResource: else it won't be loaded by ResKnife (so neh-neh!), all other methods are optional */
2002-02-02 11:48:54 +00:00
@protocol ResKnifePluginProtocol
/*! @function initWithResource:
2002-02-02 11:48:54 +00:00
* @abstract Your plug-in is inited with this call. This allows immediate access to the resource you are about to edit, and with this information you can set up different windows, etc.
*/
- (id)initWithResource:(id <ResKnifeResourceProtocol>)newResource;
- (id)initWithResources:(id <ResKnifeResourceProtocol>)newResource, ...;
2002-02-02 11:48:54 +00:00
@end