diff options
Diffstat (limited to '')
-rw-r--r-- | CPP/7zip/UI/FileManager/RootFolder.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/CPP/7zip/UI/FileManager/RootFolder.h b/CPP/7zip/UI/FileManager/RootFolder.h index e253783..3f0a31b 100644 --- a/CPP/7zip/UI/FileManager/RootFolder.h +++ b/CPP/7zip/UI/FileManager/RootFolder.h | |||
@@ -1,26 +1,23 @@ | |||
1 | // RootFolder.h | 1 | // RootFolder.h |
2 | 2 | ||
3 | #ifndef __ROOT_FOLDER_H | 3 | #ifndef ZIP7_INC_ROOT_FOLDER_H |
4 | #define __ROOT_FOLDER_H | 4 | #define ZIP7_INC_ROOT_FOLDER_H |
5 | 5 | ||
6 | #include "../../../Common/MyCom.h" | ||
6 | #include "../../../Common/MyString.h" | 7 | #include "../../../Common/MyString.h" |
7 | 8 | ||
8 | #include "IFolder.h" | 9 | #include "IFolder.h" |
9 | 10 | ||
10 | const unsigned kNumRootFolderItems_Max = 4; | 11 | const unsigned kNumRootFolderItems_Max = 4; |
11 | 12 | ||
12 | class CRootFolder: | 13 | Z7_CLASS_IMP_NOQIB_2( |
13 | public IFolderFolder, | 14 | CRootFolder |
14 | public IFolderGetSystemIconIndex, | 15 | , IFolderFolder |
15 | public CMyUnknownImp | 16 | , IFolderGetSystemIconIndex |
16 | { | 17 | ) |
17 | UString _names[kNumRootFolderItems_Max]; | 18 | UString _names[kNumRootFolderItems_Max]; |
18 | int _iconIndices[kNumRootFolderItems_Max]; | 19 | int _iconIndices[kNumRootFolderItems_Max]; |
19 | |||
20 | public: | 20 | public: |
21 | MY_UNKNOWN_IMP1(IFolderGetSystemIconIndex) | ||
22 | INTERFACE_FolderFolder(;) | ||
23 | STDMETHOD(GetSystemIconIndex)(UInt32 index, Int32 *iconIndex); | ||
24 | void Init(); | 21 | void Init(); |
25 | }; | 22 | }; |
26 | 23 | ||