source: dev/BasicCompiler_Common/NonVolatile.h@ 26

Last change on this file since 26 was 4, checked in by dai_9181, 18 years ago
File size: 1.0 KB
Line 
1
2char *ReadBuffer_NonErrMsg(char *path);
3
4class CNonVolatile{
5 char *buffer;
6
7 void OldLoad();
8
9 BOOL GetDataLine(char *name,char *parms);
10
11 BOOL GetWholeValue(char *name,int *pi32data);
12 BOOL Get3WholeValue(char *name,int *pd1,int *pd2,int *pd3);
13 BOOL GetRGBValue(char *name,COLORREF *prgb);
14 BOOL GetStringValue(char *name,char *str);
15 BOOL GetRectValue(char *name,RECT *prc);
16 BOOL GetPointValue(char *name,POINT *prc);
17
18 void SetWholeValue(char *name,long i32data);
19 void Set3WholeValue(char *name,long d1,long d2,long d3);
20 void SetRGBValue(char *name,COLORREF rgb);
21 void SetStringValue(char *name,char *str);
22 void SetRectValue(char *name,RECT *prc);
23 void SetPointValue(char *name,POINT *prc);
24public:
25 BOOL bShow_DefaultSystem_Var;
26 BOOL bShow_Rad_Var;
27 BOOL bShow_GUID_Var;
28
29 POINT MainDlgPos;
30 RECT VarDlgRect;
31
32 //デバッグのウォッチリスト
33 int WatchNum;
34 char **ppWatchStr;
35
36
37 CNonVolatile(){};
38 ~CNonVolatile(){};
39 void load();
40 void save();
41};
42extern CNonVolatile *pobj_nv;
Note: See TracBrowser for help on using the repository browser.