mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 03:15:00 -06:00
Initialer Commit
This commit is contained in:
33
CPP/7zip/UI/FileManager/FilePlugins.h
Normal file
33
CPP/7zip/UI/FileManager/FilePlugins.h
Normal file
@@ -0,0 +1,33 @@
|
||||
// FilePlugins.h
|
||||
|
||||
#ifndef __FILE_PLUGINS_H
|
||||
#define __FILE_PLUGINS_H
|
||||
|
||||
#include "RegistryPlugins.h"
|
||||
|
||||
struct CPluginToIcon
|
||||
{
|
||||
int PluginIndex;
|
||||
UString IconPath;
|
||||
int IconIndex;
|
||||
|
||||
CPluginToIcon(): IconIndex(-1) {}
|
||||
};
|
||||
|
||||
struct CExtPlugins
|
||||
{
|
||||
UString Ext;
|
||||
CObjectVector<CPluginToIcon> Plugins;
|
||||
};
|
||||
|
||||
class CExtDatabase
|
||||
{
|
||||
int FindExt(const UString &ext);
|
||||
public:
|
||||
CObjectVector<CExtPlugins> Exts;
|
||||
CObjectVector<CPluginInfo> Plugins;
|
||||
|
||||
void Read();
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user