Make it possible to have implementations in different toolkits.

Also, make it possible to share the headers.
This commit is contained in:
Jonathan Schleifer 2011-12-27 23:38:07 +01:00
parent b5f40d159e
commit 73e7da5fb7
16 changed files with 3 additions and 3 deletions

View file

@ -1,22 +0,0 @@
#import "OGWidget.h"
@class OGWindow;
@protocol OGWindowDelegate <OFObject>
@optional
- (BOOL)windowWillClose: (OGWindow*)window;
@end
@interface OGWindow: OGWidget
{
id <OGWindowDelegate> delegate;
}
@property (assign) id <OGWindowDelegate> delegate;
@property (copy) OFString *title;
@property (assign) of_point_t position;
@property (assign) of_dimension_t dimension;
+ window;
- (void)addChild: (OGWidget*)widget;
@end