Welcome to mirror list, hosted at ThFree Co, Russian Federation.

FilePlugins.h « FileManager « UI « 7zip « CPP - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 43b05f925363eaa88a4d6db6360ebf4f74a9cda3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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