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