Code::Blocks  SVN r11506
sc_plugin.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
3  * http://www.gnu.org/licenses/lgpl-3.0.html
4  */
5 
6 #ifndef SC_PLUGIN_H
7 #define SC_PLUGIN_H
8 
9 #include "sc_base_types.h"
10 #include <wx/dynarray.h>
11 
12 class FileTreeData;
13 class wxMenu;
14 
15 namespace ScriptBindings
16 {
17  namespace ScriptPluginWrapper
18  {
20  wxArrayInt CreateModuleMenu(const ModuleType type, wxMenu* menu, const FileTreeData* data);
21 
22  void OnScriptMenu(int id);
23  void OnScriptModuleMenu(int id);
24  } // namespace ScriptPluginWrapper
25 }
26 
27 #endif // SC_PLUGIN_H
wxArrayInt CreateMenu(wxMenuBar *mbar)
ModuleType
The type of module offering a context menu.
Definition: globals.h:38
wxArray< int > wxArrayInt
wxArrayInt CreateModuleMenu(const ModuleType type, wxMenu *menu, const FileTreeData *data)
Definition: sc_plugin.cpp:104