Debian Codegraph @

src/iphone/allegroAppDelegate.h

raw
1 #import <UIKit/UIKit.h>
2 #include <allegro5/allegro.h>
3 #import "ViewController.h"
4
5 struct ALLEGRO_DISPLAY_IPHONE_EXTRA {
6 bool failed;
7 ViewController *vc;
8 UIWindow *window;
9 int adapter;
10 bool disconnected;
11 };
12
13 @class EAGLView;
14
15 @interface allegroAppDelegate : NSObject <UIApplicationDelegate,
16 UIAccelerometerDelegate> {
17 @public
18 ALLEGRO_DISPLAY *main_display;
19 }
20
21 + (void)run:(int)argc:(char **)argv;
22 - (void)add_view:(NSValue *)value;
23 - (void)orientation_change:(NSNotification *)notification;
24 - (void)setupScreenConnectionNotificationHandlers;
25 - (void)add_screen:(UIScreen *)screen;
26
27 @end
28