diff options
Diffstat (limited to 'include/newpluginapi.h')
-rw-r--r-- | include/newpluginapi.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/newpluginapi.h b/include/newpluginapi.h index 32ed951999..f479f5f9f4 100644 --- a/include/newpluginapi.h +++ b/include/newpluginapi.h @@ -160,6 +160,7 @@ protected: const char *m_szModuleName;
const PLUGININFOEX &m_pInfo;
HANDLE m_hLogger = nullptr;
+ LIST<void> m_arIcons;
CMPluginBase(const char *moduleName, const PLUGININFOEX &pInfo);
~CMPluginBase();
@@ -172,6 +173,11 @@ public: void debugLogA(LPCSTR szFormat, ...);
void debugLogW(LPCWSTR wszFormat, ...);
+ __forceinline void addIcolib(HANDLE hIcolib) { m_arIcons.insert(hIcolib); }
+ HICON getIcon(int iconId);
+ HANDLE getIconHandle(int iconId);
+ void releaseIcon(int iconId);
+
__forceinline const PLUGININFOEX& getInfo() const { return m_pInfo; }
__forceinline const char* getModule() const { return m_szModuleName; }
|