1 #ifndef WANDERER_FILESYSTEMS_H
2 #define WANDERER_FILESYSTEMS_H
5 #include "portable_macros.h"
14 #include <exec/types.h>
15 #include <exec/memory.h>
17 #include <intuition/intuitionbase.h>
18 #include <intuition/classusr.h>
21 #include <clib/alib_protos.h>
24 #include <utility/utility.h>
25 #include <dos/dosextens.h>
26 #include <libraries/mui.h>
27 #include <proto/exec.h>
28 #include <proto/dos.h>
29 #if defined(__AMIGA__) && !defined(__PPC__)
30 #define NO_INLINE_STDARG
32 #include <proto/muimaster.h>
34 #ifndef _PROTO_INTUITION_H
35 #include <proto/intuition.h>
38 /* FILEINFO CONSTANTS */
46 #define ACCESS_SKIP OPMODE_YES
47 #define ACCESS_BREAK OPMODE_NONE
49 #define FILEINFO_DIR 1
50 #define FILEINFO_PROTECTED 2
51 #define FILEINFO_WRITE 4
54 #define ACTION_DELETE 2
55 #define ACTION_DIRTOABS 4
56 #define ACTION_MAKEDIRS 8
57 #define ACTION_GETINFO 16
58 #define ACTION_UPDATE (1 << 31)
61 #define PATH_RECURSIVE 1
62 #define PATH_NONRECURSIVE 2
65 #define PATHBUFFERSIZE 2048
66 #define COPYLEN 131072
67 #define POOLSIZE COPYLEN * 2
81 unsigned int difftime
;
84 struct MUIDisplayObjects
91 Object
*performanceObject
;
100 unsigned long long bytes
;
102 char SpeedBuffer
[32];
114 struct FileEntry
*next
;
120 struct Hook
*askhook
;
126 char *CombineString(char *format
, ...);
127 void freeString(APTR pool
, char *str
);
129 WORD
AskChoiceNew(const char *title
, const char *strg
, const char *gadgets
, UWORD sel
, BOOL centered
);
130 WORD
AskChoice(const char *title
, const char *strg
, const char *gadgets
, UWORD sel
);
131 WORD
AskChoiceCentered(const char *title
, const char *strg
, const char *gadgets
, UWORD sel
);
133 BOOL
CopyContent(APTR p
, char *s
, char *d
, BOOL makeparentdir
, ULONG flags
, struct Hook
*displayHook
, struct OpModes
*opModes
, APTR userdata
);
135 #endif /* WANDERER_FILESYSTEMS_H */