/usr/share/codelite/templates/gizmos/plugin.h.wizard is in codelite-plugins 2.8.0.4537~dfsg-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #ifndef __$(PluginName)__
#define __$(PluginName)__
#include "plugin.h"
class $(PluginName) : public IPlugin
{
public:
$(PluginName)(IManager *manager);
~$(PluginName)();
//--------------------------------------------
//Abstract methods
//--------------------------------------------
virtual clToolBar *CreateToolBar(wxWindow *parent);
virtual void CreatePluginMenu(wxMenu *pluginsMenu);
virtual void HookPopupMenu(wxMenu *menu, MenuType type);
virtual void UnHookPopupMenu(wxMenu *menu, MenuType type);
virtual void UnPlug();
};
#endif //$(PluginName)
|