1 // FilePlugins.h 2 3 #ifndef ZIP7_INC_FILE_PLUGINS_H 4 #define ZIP7_INC_FILE_PLUGINS_H 5 6 #include "RegistryPlugins.h" 7 8 struct CPluginToIcon 9 { 10 // unsigned PluginIndex; 11 int IconIndex; 12 UString IconPath; 13 CPluginToIconCPluginToIcon14 CPluginToIcon(): IconIndex(-1) {} 15 }; 16 17 struct CExtPlugins 18 { 19 UString Ext; 20 CObjectVector<CPluginToIcon> Plugins; 21 }; 22 23 class CExtDatabase 24 { 25 int FindExt(const UString &ext) const; 26 public: 27 CObjectVector<CExtPlugins> Exts; 28 // CObjectVector<CPluginInfo> Plugins; 29 30 void Read(); 31 }; 32 33 #endif 34