d074cc7c07
Plugin: ns7zip v2.0.0 Architectures: x86-ansi, x86-unicode, amd64-unicode License: LGPL-2.1-or-later
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
|