3 #ifndef __PLUGIN_INTERFACE_H
\r
4 #define __PLUGIN_INTERFACE_H
\r
7 #include "../../../Common/Types.h"
\r
8 #include "../../IDecl.h"
\r
10 #define PLUGIN_INTERFACE(i, x) DECL_INTERFACE(i, 0x0A, x)
\r
12 PLUGIN_INTERFACE(IInitContextMenu, 0x00)
\r
14 STDMETHOD(InitContextMenu)(const wchar_t *folder, const wchar_t **names, UINT32 numFiles) PURE;
\r
17 PLUGIN_INTERFACE(IPluginOptionsCallback, 0x01)
\r
19 STDMETHOD(GetProgramFolderPath)(BSTR *value) PURE;
\r
20 STDMETHOD(GetProgramPath)(BSTR *value) PURE;
\r
21 STDMETHOD(GetRegistryCUPath)(BSTR *value) PURE;
\r
24 PLUGIN_INTERFACE(IPluginOptions, 0x02)
\r
26 STDMETHOD(PluginOptions)(HWND hWnd, IPluginOptionsCallback *callback) PURE;
\r
27 // STDMETHOD(GetFileExtensions)(BSTR *extensions) PURE;
\r