Initial import of Scalos. To decrease size I have
[AROS-Contrib.git] / scalos / Plugins / OOP / wb39_plugin / persist / Persist.h
blobdba34d7f5a8f2323f88dffc86d1bd517485b4ede
1 // persist.h
2 // $Date$
3 // $Revision$
6 #ifndef PERSIST_H_INCLUDED
7 #define PERSIST_H_INCLUDED
9 //----------------------------------------------------------------------------
11 #define d(x) ;
12 #define d1(x) ;
13 #define d2(x) x;
15 // aus debug.lib
16 extern int kprintf(const char *fmt, ...);
17 extern int KPrintF(const char *fmt, ...);
19 //----------------------------------------------------------------------------
21 #include <intuition/classes.h>
22 #include <scalos/scalos.h>
23 #include <defs.h>
25 #define PERSIST_CONFIGFILENAME "ENV:Scalos/Persist.prefs"
26 #define PERSIST_FILENAME "ENVARC:Scalos/Persistant_Windows"
27 #define TEMP_FILENAME "t:PersistTemp"
29 //----------------------------------------------------------------------------
31 struct OpenNode
33 struct Node on_Node;
34 BOOL on_Iconified;
35 BOOL on_BrowserMode;
36 const struct ScaWindowTask *on_WindowTask;
37 char *on_Path;
38 WORD on_Left; // Window LeftEdge
39 WORD on_Top; // Window TopEdge
40 WORD on_Width; // Window Width
41 WORD on_Height; // Window Height
44 struct ProcessTimerInfo
46 struct MsgPort *ppt_ioPort;
47 T_TIMEREQUEST *ppt_TimeReq;
48 BOOL ppt_timerOpen;
49 BOOL ppt_timerPending; // TRUE when spt_TimeReq is in use
52 //----------------------------------------------------------------------------
54 #endif /* PERSIST_H_INCLUDED */