-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathiphone_system.h
58 lines (40 loc) · 1.39 KB
/
iphone_system.h
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
/// The VERGE 3 Project is originally by Ben Eirich and is made available via
/// the BSD License.
///
/// Please see LICENSE in the project's root directory for the text of the
/// licensing agreement. The CREDITS file in the same directory enumerates the
/// folks involved in this public build.
///
/// If you have altered this source file, please log your name, date, and what
/// changes you made below this line.
#ifndef SYSTEM_H
#define SYSTEM_H
//void win_addWindow(HWND window);
//void win_removeWindow(HWND window);
void setWindowTitle(const char *str);
char *clipboard_getText();
void clipboard_setText(const char *text);
image *clipboard_getImage();
void clipboard_putImage(image *img);
void writeToConsole(char *str);
void initConsole();
extern bool AppIsForeground;
extern int DesktopBPP;
int getYear();
int getMonth();
int getDay();
int getDayOfWeek();
int getHour();
int getMinute();
int getSecond();
void strupr(char *c);
void strlwr(char *c);
void listFilePattern(std::vector<std::string> &res, CStringRef pattern);
void showMessageBox(CStringRef message);
unsigned int timeGetTime();
void Sleep(unsigned int msec);
void InitEditCode(); // impl in mac_cocoa_util.mm
void AddSourceFile(std::string s); // impl in mac_cocoa_util.mm
StringRef GetSystemSaveDirectory(CStringRef name); // impl in mac_cocoa_util.mm
int iphone_SetMode(int xres, int yres, int bpp, bool windowflag);
#endif