Make it possible to have implementations in different toolkits.
Also, make it possible to share the headers.
This commit is contained in:
parent
b5f40d159e
commit
73e7da5fb7
16 changed files with 3 additions and 3 deletions
19
OGButton.h
19
OGButton.h
|
@ -1,19 +0,0 @@
|
|||
#import "OGWidget.h"
|
||||
|
||||
@class OGButton;
|
||||
|
||||
@protocol OGButtonDelegate <OFObject>
|
||||
@optional
|
||||
- (void)buttonWasClicked: (OGButton*)button;
|
||||
@end
|
||||
|
||||
@interface OGButton: OGWidget
|
||||
{
|
||||
id <OGButtonDelegate> delegate;
|
||||
}
|
||||
|
||||
@property (assign) id <OGButtonDelegate> delegate;
|
||||
@property (copy) OFString *label;
|
||||
|
||||
+ button;
|
||||
@end
|
Reference in a new issue