mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-12-22 17:30:15 +00:00
14 lines
625 B
Objective-C
14 lines
625 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import "ResKnifeResourceProtocol.h"
|
|
|
|
/* 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 */
|
|
|
|
@protocol ResKnifePluginProtocol
|
|
|
|
/*! @function initWithResource:
|
|
* @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, ...;
|
|
|
|
@end |