Develop and Download Open Source Software

Browse CVS Repository

Contents of /enbanfukusyaya/EnbanFukusyaYa/MacOSX/ui.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download) (as text)
Mon Apr 18 22:59:27 2005 UTC (18 years, 11 months ago) by bananajinn
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +13 -12 lines
File MIME type: text/x-chdr
*** empty log message ***

1 #ifndef __UI_H__
2 #define __UI_H__
3
4 #include <aspi.h>
5 #include <option.h>
6
7 #undef USE_THREAD
8 //#define USE_THREAD
9
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13
14 #define WM_USER_UICTL (WM_USER+1)
15 #define UICTL_METER1INIT 0
16 #define UICTL_METER2INIT 1
17 #define UICTL_METER1SETPOS 2
18 #define UICTL_METER2SETPOS 3
19 #define UICTL_SETTING 4
20
21 extern void UISetMWC(void *mwc);
22 extern BOOL UICheckAbort();
23 extern void UISetAbort();
24 extern void UIClearAbort();
25 extern int UIDispMessage(const char *message, int type);
26 /* type value */
27 #define UIDMT_INFORMATION 0
28 #define UIDMT_ERROR 1
29 #define UIDMT_QUESTION 2
30 /* return value */
31 #define UIDMRET_OK 0
32 #define UIDMRET_CANCEL 1
33
34 extern void UIMeter1Initialize(const char *message);
35 extern void UIMeter2Initialize(const char *message);
36 extern void UIMeter1Update(int percentage);
37 extern void UIMeter2Update(int percentage);
38 extern void UIDispInfo(const char *message);
39 extern int UIFileDialog(BOOL bOpen, char *filename, int size, const char *suffix);
40 extern int UINetDialog(BOOL bServer, char *remote, int size, int *port_number);
41
42 extern int UISetting(OPTIONS *option);
43
44 #ifdef __cplusplus
45 }
46 #endif
47
48 #endif /* !__EVENT_H__ */

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26