Make it possible to use different toolkits by adding #ifdefs.
This commit is contained in:
parent
c73bc725ea
commit
ec2f8fc03a
3 changed files with 7 additions and 5 deletions
|
@ -20,14 +20,18 @@
|
|||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#ifdef OG_GTK
|
||||
# include <gtk/gtk.h>
|
||||
#endif
|
||||
|
||||
#import <ObjFW/ObjFW.h>
|
||||
|
||||
@interface OGWidget: OFObject
|
||||
{
|
||||
@public
|
||||
#ifdef OG_GTK
|
||||
GtkWidget *widget;
|
||||
#endif
|
||||
}
|
||||
|
||||
- (void)show;
|
||||
|
|
Reference in a new issue