From 7634649bc4cb453b6b4144be00aae533307c47d6 Mon Sep 17 00:00:00 2001 From: Rejean Loyer Date: Wed, 14 Sep 2011 00:55:50 -0400 Subject: [PATCH] libede: renamed ExplorerFileType to _FileType. (ecere's FileType is the reason for the _) --- libede/src/FileSystemBox.ec | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/libede/src/FileSystemBox.ec b/libede/src/FileSystemBox.ec index 741fa74..4f5d76d 100644 --- a/libede/src/FileSystemBox.ec +++ b/libede/src/FileSystemBox.ec @@ -50,7 +50,7 @@ static char * fileIconNames[] = "" }; -public enum ExplorerFileType +public enum _FileType { none, @@ -84,7 +84,7 @@ public enum ExplorerFileType get { return this >= normalFile && this <= opticalMediaImageFile; } } - ExplorerFileType ::SelectByExtension(char * extension) + _FileType ::SelectByExtension(char * extension) { if(!strcmpi(extension, "ews")) return ewsFile; @@ -142,12 +142,12 @@ class ExplorerControl : Window { 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]); @@ -1010,7 +1010,7 @@ public class ExplorerFileItem : struct char * name; char * info; char * extension; - ExplorerFileType type; + _FileType type; int indent; Bitmap bitmap; @@ -1180,7 +1180,7 @@ ExplorerFileItem MakeFileItem(const FileAttribs attribs, const char * fileName, //strupr(extension); strlwr(extension); - item.type = ExplorerFileType::SelectByExtension(extension); + item.type = _FileType::SelectByExtension(extension); } if(attribs.isDrive && @@ -1223,7 +1223,7 @@ public class FileSystemNode : struct char * info; DataRow row; OldList children; - ExplorerFileType type; + _FileType type; FileSystemNode parent; FileStats stats; @@ -1439,7 +1439,7 @@ FileSystemNode MakeFileNode(const FileStats stats, const char * name) { char extension[MAX_EXTENSION]; GetExtension(fileTreeNode.name, extension); - fileTreeNode.type = ExplorerFileType::SelectByExtension(extension); + fileTreeNode.type = _FileType::SelectByExtension(extension); } return fileTreeNode; } -- 1.8.3.1