2020-02-29 15:40:55 +00:00
|
|
|
#ifndef __qwaq_app_h
|
|
|
|
#define __qwaq_app_h
|
|
|
|
|
2020-03-14 10:45:07 +00:00
|
|
|
#include <Object.h>
|
|
|
|
|
2020-02-29 15:40:55 +00:00
|
|
|
#include "event.h"
|
2020-03-23 11:14:32 +00:00
|
|
|
#include "qwaq-rect.h"
|
2020-02-29 15:40:55 +00:00
|
|
|
|
2020-03-14 10:45:07 +00:00
|
|
|
@class Group;
|
2020-03-19 09:41:53 +00:00
|
|
|
@class TextContext;
|
2020-03-01 09:25:02 +00:00
|
|
|
|
2020-03-14 10:45:07 +00:00
|
|
|
@interface QwaqApplication: Object
|
2020-02-29 15:40:55 +00:00
|
|
|
{
|
|
|
|
qwaq_event_t event;
|
|
|
|
qwaq_command endState;
|
2020-03-14 10:45:07 +00:00
|
|
|
|
|
|
|
Group *objects;
|
2020-03-19 09:41:53 +00:00
|
|
|
|
|
|
|
TextContext *screen;
|
2020-03-23 11:14:32 +00:00
|
|
|
Extent screenSize;
|
2020-03-19 09:41:53 +00:00
|
|
|
int autocount;
|
2020-02-29 15:40:55 +00:00
|
|
|
}
|
2020-03-24 16:06:20 +00:00
|
|
|
-(Extent)size;
|
|
|
|
-(TextContext *)screen;
|
2020-02-29 15:40:55 +00:00
|
|
|
-run;
|
|
|
|
@end
|
|
|
|
|
2020-03-24 16:06:20 +00:00
|
|
|
@extern QwaqApplication *application;
|
|
|
|
|
2020-02-29 15:40:55 +00:00
|
|
|
#endif//__qwaq_app_h
|