mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 15:14:59 -06:00
34 lines
467 B
C++
34 lines
467 B
C++
// 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
|