Debian Codegraph @

tools/build-tool/data/ios/xcode_project/cge_project_name/AppDelegate.h

raw symbols SCIP
1 /*
2 Copyright 2013-2017 Jan Adamec, Michalis Kamburelis.
3
4 This file is part of "Castle Game Engine".
5
6 "Castle Game Engine" is free software; see the file COPYING.txt,
7 included in the "Castle Game Engine" distribution,
8 for details about the copyright.
9
10 "Castle Game Engine" is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13
14 ----------------------------------------------------------------------------
15 */
16
17 #import <UIKit/UIKit.h>
18 #import "AvailableProduct.h"
19 #include "castleiosappglue.h"
20
21 @interface AppDelegate : UIResponder <UIApplicationDelegate>
22 {
23 /* Services (integrations with 3rd party services).
24 Array of ServiceAbstract instances. */
25 NSMutableArray* services;
26 }
27 - (void)messageReceived:(const char *)message;
28
29 /* Called by in_app_purchase service to notify all other services
30 (e.g. analytics) that a purchase occured.
31 */
32 - (void)onPurchase:(AvailableProduct*) product
33 withTransaction:(SKPaymentTransaction*) transaction;
34
35 @property (strong, nonatomic) UIWindow *window;
36
37 @end
38
39 /* Get singleton AppDelegate instance. */
40 AppDelegate* getAppDelegate(void);