32 lines
586 B
C++
32 lines
586 B
C++
#pragma once
|
|
|
|
#include <Project64-core/Settings.h>
|
|
|
|
class CPluginList
|
|
{
|
|
public:
|
|
typedef struct
|
|
{
|
|
PLUGIN_INFO Info;
|
|
bool AboutFunction;
|
|
CPath FullPath;
|
|
stdstr FileName;
|
|
} PLUGIN;
|
|
|
|
public:
|
|
CPluginList(bool bAutoFill = true);
|
|
~CPluginList();
|
|
|
|
bool LoadList(void);
|
|
int GetPluginCount(void) const;
|
|
const PLUGIN * GetPluginInfo(int indx) const;
|
|
|
|
private:
|
|
typedef std::vector<PLUGIN> PluginList;
|
|
|
|
PluginList m_PluginList;
|
|
CPath m_PluginDir;
|
|
|
|
void AddPluginFromDir(CPath Dir);
|
|
};
|