""
};
-public enum ExplorerFileType
+public enum _FileType
{
none,
treeLoader,
lineNumbers;
-
/*property char *
{
set
}
}*/
- public property bool isFolderType
+ public property bool isFolder
{
get { return this >= folder && this <= share; }
}
- public property bool isFileType
+ public property bool isFile
{
get { return this >= normalFile && this <= opticalMediaImageFile; }
}
- ExplorerFileType ::SelectByExtension(char * extension)
+ _FileType ::SelectByExtension(char * extension)
{
if(!strcmpi(extension, "ews"))
return ewsFile;
{
bool previewPictures;
- BitmapResource fileIcons[ExplorerFileType];
+ BitmapResource fileIcons[_FileType];
ExplorerControl()
{
- ExplorerFileType c;
- for(c = 0; c < ExplorerFileType::enumSize; c++)
+ _FileType c;
+ for(c = 0; c < _FileType::enumSize; c++)
{
fileIcons[c] = BitmapResource { fileIconNames[c], alphaBlend = true };
AddResource(fileIcons[c]);
char * name;
char * info;
char * extension;
- ExplorerFileType type;
+ _FileType type;
int indent;
Bitmap bitmap;
//strupr(extension);
strlwr(extension);
- item.type = ExplorerFileType::SelectByExtension(extension);
+ item.type = _FileType::SelectByExtension(extension);
}
if(attribs.isDrive &&
char * info;
DataRow row;
OldList children;
- ExplorerFileType type;
+ _FileType type;
FileSystemNode parent;
FileStats stats;
{
char extension[MAX_EXTENSION];
GetExtension(fileTreeNode.name, extension);
- fileTreeNode.type = ExplorerFileType::SelectByExtension(extension);
+ fileTreeNode.type = _FileType::SelectByExtension(extension);
}
return fileTreeNode;
}