-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmisc.h
More file actions
375 lines (315 loc) · 13.6 KB
/
misc.h
File metadata and controls
375 lines (315 loc) · 13.6 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
/*
* @author Mário Soares
* @contributors Jefferson González
*
* @license
* This file is part of wxPHP check the LICENSE file for information.
*
* @note
* This file was auto-generated by the wxPHP source maker
*/
#ifndef WXPHP_MISC_H_GUARD
#define WXPHP_MISC_H_GUARD
#include "references.h"
ZEND_BEGIN_ARG_INFO_EX(wxphp_misc_get_args, 0, 0, 1)
ZEND_ARG_INFO(0, name)
ZEND_END_ARG_INFO()
extern int le_wxArtProvider;
extern zend_class_entry *php_wxArtProvider_entry;
void php_wxArtProvider_destruction_handler(zend_rsrc_list_entry * TSRMLS_DC);
class wxArtProvider_php: public wxArtProvider{
public:
void InitProperties(){
}
zval *evnArray;
void onEvent(wxEvent& evnt);
void ***tsrm_ls;
zval* phpObj;
void** properties;
wxPHPObjectReferences references;
};
#ifdef WXPHP_INCLUDE_METHOD_TABLES
static zend_function_entry php_wxArtProvider_functions[] = {
PHP_ME(php_wxObject, UnShare, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, UnRef, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, IsSameAs, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, Ref, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, GetClassInfo, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, IsKindOf, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxArtProvider, Remove, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxArtProvider, PushBack, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxArtProvider, Push, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxArtProvider, Pop, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxArtProvider, Insert, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxArtProvider, HasNativeProvider, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxArtProvider, GetSizeHint, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxArtProvider, GetNativeSizeHint, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxArtProvider, GetIconBundle, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxArtProvider, GetIcon, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxArtProvider, GetBitmap, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxArtProvider, Delete, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_FE_END
};
#endif
extern int le_wxCaret;
extern zend_class_entry *php_wxCaret_entry;
void php_wxCaret_destruction_handler(zend_rsrc_list_entry * TSRMLS_DC);
class wxCaret_php: public wxCaret{
public:
wxCaret_php():wxCaret(){}
wxCaret_php(wxWindow* window, int width, int height):wxCaret(window, width, height){}
void InitProperties(){
}
zval *evnArray;
void onEvent(wxEvent& evnt);
void ***tsrm_ls;
zval* phpObj;
void** properties;
wxPHPObjectReferences references;
};
#ifdef WXPHP_INCLUDE_METHOD_TABLES
static zend_function_entry php_wxCaret_functions[] = {
PHP_ME(php_wxCaret, __construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_ME(php_wxCaret, Show, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxCaret, SetSize, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxCaret, SetBlinkTime, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxCaret, Move, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxCaret, IsVisible, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxCaret, IsOk, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxCaret, Hide, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxCaret, GetWindow, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxCaret, GetSize, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxCaret, GetBlinkTime, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxCaret, GetPosition, NULL, ZEND_ACC_PUBLIC)
PHP_FE_END
};
#endif
extern int le_wxNotificationMessage;
extern zend_class_entry *php_wxNotificationMessage_entry;
void php_wxNotificationMessage_destruction_handler(zend_rsrc_list_entry * TSRMLS_DC);
class wxNotificationMessage_php: public wxNotificationMessage{
public:
wxNotificationMessage_php():wxNotificationMessage(){}
wxNotificationMessage_php(const wxString& title, const wxString& message=wxEmptyString, wxWindow* parent=NULL, int flags=wxICON_INFORMATION):wxNotificationMessage(title, message, parent, flags){}
void InitProperties(){
}
zval *evnArray;
void onEvent(wxEvent& evnt);
void ***tsrm_ls;
zval* phpObj;
void** properties;
wxPHPObjectReferences references;
};
#ifdef WXPHP_INCLUDE_METHOD_TABLES
static zend_function_entry php_wxNotificationMessage_functions[] = {
PHP_ME(php_wxObject, UnShare, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, UnRef, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, IsSameAs, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, Ref, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, GetClassInfo, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, IsKindOf, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, Connect, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, AddFilter, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, AddPendingEvent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, DeletePendingEvents, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, GetEvtHandlerEnabled, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, GetNextHandler, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, GetPreviousHandler, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, IsUnlinked, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, ProcessEvent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, ProcessEventLocally, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, ProcessPendingEvents, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, QueueEvent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, RemoveFilter, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, SafelyProcessEvent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, SetEvtHandlerEnabled, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, SetNextHandler, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, SetPreviousHandler, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, Unlink, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxNotificationMessage, Close, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxNotificationMessage, SetFlags, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxNotificationMessage, SetMessage, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxNotificationMessage, SetParent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxNotificationMessage, SetTitle, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxNotificationMessage, Show, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxNotificationMessage, __construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_FE_END
};
#endif
extern int le_wxStopWatch;
extern zend_class_entry *php_wxStopWatch_entry;
void php_wxStopWatch_destruction_handler(zend_rsrc_list_entry * TSRMLS_DC);
class wxStopWatch_php: public wxStopWatch{
public:
wxStopWatch_php():wxStopWatch(){}
void InitProperties(){
}
zval *evnArray;
void onEvent(wxEvent& evnt);
void ***tsrm_ls;
zval* phpObj;
void** properties;
wxPHPObjectReferences references;
};
#ifdef WXPHP_INCLUDE_METHOD_TABLES
static zend_function_entry php_wxStopWatch_functions[] = {
PHP_ME(php_wxStopWatch, __construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_ME(php_wxStopWatch, Time, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxStopWatch, Start, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxStopWatch, Resume, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxStopWatch, Pause, NULL, ZEND_ACC_PUBLIC)
PHP_FE_END
};
#endif
extern int le_wxTaskBarIcon;
extern zend_class_entry *php_wxTaskBarIcon_entry;
void php_wxTaskBarIcon_destruction_handler(zend_rsrc_list_entry * TSRMLS_DC);
class wxTaskBarIcon_php: public wxTaskBarIcon{
public:
wxTaskBarIcon_php(wxTaskBarIconType iconType=wxTBI_DEFAULT_TYPE):wxTaskBarIcon(iconType){}
wxMenu* CreatePopupMenu();
void InitProperties(){
}
zval *evnArray;
void onEvent(wxEvent& evnt);
void ***tsrm_ls;
zval* phpObj;
void** properties;
wxPHPObjectReferences references;
};
#ifdef WXPHP_INCLUDE_METHOD_TABLES
static zend_function_entry php_wxTaskBarIcon_functions[] = {
PHP_ME(php_wxObject, UnShare, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, UnRef, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, IsSameAs, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, Ref, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, GetClassInfo, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, IsKindOf, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, Connect, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, AddFilter, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, AddPendingEvent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, DeletePendingEvents, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, GetEvtHandlerEnabled, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, GetNextHandler, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, GetPreviousHandler, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, IsUnlinked, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, ProcessEvent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, ProcessEventLocally, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, ProcessPendingEvents, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, QueueEvent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, RemoveFilter, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, SafelyProcessEvent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, SetEvtHandlerEnabled, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, SetNextHandler, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, SetPreviousHandler, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, Unlink, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTaskBarIcon, Destroy, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTaskBarIcon, IsAvailable, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxTaskBarIcon, IsIconInstalled, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTaskBarIcon, IsOk, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTaskBarIcon, PopupMenu, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTaskBarIcon, RemoveIcon, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTaskBarIcon, SetIcon, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTaskBarIcon, __construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_FE_END
};
#endif
extern int le_wxTimer;
extern zend_class_entry *php_wxTimer_entry;
void php_wxTimer_destruction_handler(zend_rsrc_list_entry * TSRMLS_DC);
class wxTimer_php: public wxTimer{
public:
wxTimer_php():wxTimer(){}
wxTimer_php(wxEvtHandler* owner, int id=-1):wxTimer(owner, id){}
void InitProperties(){
}
zval *evnArray;
void onEvent(wxEvent& evnt);
void ***tsrm_ls;
zval* phpObj;
void** properties;
wxPHPObjectReferences references;
};
#ifdef WXPHP_INCLUDE_METHOD_TABLES
static zend_function_entry php_wxTimer_functions[] = {
PHP_ME(php_wxObject, UnShare, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, UnRef, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, IsSameAs, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, Ref, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, GetClassInfo, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxObject, IsKindOf, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, Connect, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, AddFilter, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, AddPendingEvent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, DeletePendingEvents, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, GetEvtHandlerEnabled, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, GetNextHandler, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, GetPreviousHandler, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, IsUnlinked, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, ProcessEvent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, ProcessEventLocally, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, ProcessPendingEvents, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, QueueEvent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, RemoveFilter, NULL, ZEND_ACC_STATIC|ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, SafelyProcessEvent, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, SetEvtHandlerEnabled, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, SetNextHandler, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, SetPreviousHandler, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxEvtHandler, Unlink, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTimer, GetId, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTimer, GetInterval, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTimer, GetOwner, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTimer, IsOneShot, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTimer, IsRunning, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTimer, Notify, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTimer, SetOwner, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTimer, Start, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTimer, Stop, NULL, ZEND_ACC_PUBLIC)
PHP_ME(php_wxTimer, __construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_FE_END
};
#endif
extern int le_wxWindowDisabler;
extern zend_class_entry *php_wxWindowDisabler_entry;
void php_wxWindowDisabler_destruction_handler(zend_rsrc_list_entry * TSRMLS_DC);
class wxWindowDisabler_php: public wxWindowDisabler{
public:
wxWindowDisabler_php(bool disable=true):wxWindowDisabler(disable){}
wxWindowDisabler_php(wxWindow* winToSkip):wxWindowDisabler(winToSkip){}
void InitProperties(){
}
zval *evnArray;
void onEvent(wxEvent& evnt);
void ***tsrm_ls;
zval* phpObj;
void** properties;
wxPHPObjectReferences references;
};
#ifdef WXPHP_INCLUDE_METHOD_TABLES
static zend_function_entry php_wxWindowDisabler_functions[] = {
PHP_ME(php_wxWindowDisabler, __construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_FE_END
};
#endif
extern int le_wxBusyCursor;
extern zend_class_entry *php_wxBusyCursor_entry;
void php_wxBusyCursor_destruction_handler(zend_rsrc_list_entry * TSRMLS_DC);
class wxBusyCursor_php: public wxBusyCursor{
public:
wxBusyCursor_php(const wxCursor* cursor=wxHOURGLASS_CURSOR):wxBusyCursor(cursor){}
void InitProperties(){
}
zval *evnArray;
void onEvent(wxEvent& evnt);
void ***tsrm_ls;
zval* phpObj;
void** properties;
wxPHPObjectReferences references;
};
#ifdef WXPHP_INCLUDE_METHOD_TABLES
static zend_function_entry php_wxBusyCursor_functions[] = {
PHP_ME(php_wxBusyCursor, __construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR)
PHP_FE_END
};
#endif
#endif //WXPHP_MISC_H_GUARD