mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
6e74f2a03f
I had forgotten that extern worked and that @extern was for headers that might be compiled in traditional or extended modes.
37 lines
537 B
Objective-C
37 lines
537 B
Objective-C
#ifndef __qwaq_app_h
|
|
#define __qwaq_app_h
|
|
|
|
#include <Object.h>
|
|
|
|
#include "event.h"
|
|
#include "qwaq-rect.h"
|
|
|
|
@class Array;
|
|
@class Group;
|
|
@class TextContext;
|
|
@class View;
|
|
|
|
extern int color_palette[64];
|
|
|
|
@interface QwaqApplication: Object
|
|
{
|
|
qwaq_event_t event;
|
|
qwaq_command endState;
|
|
|
|
Group *objects;
|
|
|
|
TextContext *screen;
|
|
Extent screenSize;
|
|
int autocount;
|
|
|
|
Array *debuggers;
|
|
}
|
|
-(Extent)size;
|
|
-(TextContext *)screen;
|
|
-addView:(View *)view;
|
|
-run;
|
|
@end
|
|
|
|
extern QwaqApplication *application;
|
|
|
|
#endif//__qwaq_app_h
|