-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.h
More file actions
35 lines (30 loc) · 766 Bytes
/
app.h
File metadata and controls
35 lines (30 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*
* @author Mário Soares
*
* @license
* This file is part of wxPHP check the LICENSE file for information.
*
* @description
* Manual binding declaration to the wxApp class
*
*/
#ifndef WXPHP_APP_H_GUARD
#define WXPHP_APP_H_GUARD
extern zend_class_entry *php_wxApp_entry;
extern int le_wxApp;
class wxAppWrapper : public wxApp
{
public:
bool OnInit();
int OnExit();
zval* phpObj;
void ***tsrm_ls;
};
static function_entry php_wxApp_functions[] = {
PHP_ME(php_wxApp, helloWorld ,NULL,ZEND_ACC_PUBLIC)
PHP_ME(php_wxApp, SetInstance ,NULL,ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxApp, Yield ,NULL,ZEND_ACC_PUBLIC)
PHP_ME(php_wxApp, __construct, NULL,ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
{ NULL, NULL, NULL }
};
#endif //WXPHP_APP_H_GUARD