9#ifndef xfileoperation_h
10#define xfileoperation_h
15BEGIN_MOOTOOLS_NAMESPACE
21#define XFILE_ERROR ((fileuint)-1)
35FILE *xFileGetStreamFromHandle(
xFileHandle fileHandle,
unsigned int mode);
41bool xFileDelete(
const CXString& file);
42bool xDirectoryCreate(
const CXString& dir);
43bool xDirectoryRemove(
const CXString& dir);
49typedef enum XFILE_ATTRIBUTE
XEnumType(
unsigned int)
51 XFILE_ATTRIBUTE_INVALID = 0,
52 XFILE_ATTRIBUTE_NORMAL = 0x01,
53 XFILE_ATTRIBUTE_READONLY = 0x02,
54 XFILE_ATTRIBUTE_HIDDEN = 0x04,
55 XFILE_ATTRIBUTE_DIRECTORY = 0x08,
58typedef struct xFileInfo
60 unsigned int attributes;
64typedef struct xFileFindInfo
70bool xFileGetInfo(
const CXString& filename, xFileInfo& info);
77 XFILE_TIME_CREATED = 1,
87bool xFileSetTime(
const CXTime& time,
const CXString& filename, XFILE_TIMETYPE type);
96CXString xFileGetRunningApplicationName();
97CXFileException::FileExceptionType xFileGetLastErrorException();
CXFile is the base class for different kind of file (CXStdioFile, CXMemFile...)
The class defines an x, y, z 3D point which can use int, float or double.
Definition 3DPoint.h:27