Code::Blocks
SVN r11506
include
scripting
bindings
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
{
19
wxArrayInt
CreateMenu
(
wxMenuBar
* mbar);
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
ScriptBindings::ScriptPluginWrapper::OnScriptModuleMenu
void OnScriptModuleMenu(int id)
Definition:
sc_plugin.cpp:187
ScriptBindings::ScriptPluginWrapper::CreateMenu
wxArrayInt CreateMenu(wxMenuBar *mbar)
dynarray.h
ScriptBindings
Definition:
sc_plugin.h:15
wxMenuBar
wxMenu
ModuleType
ModuleType
The type of module offering a context menu.
Definition:
globals.h:38
ScriptBindings::ScriptPluginWrapper::OnScriptMenu
void OnScriptMenu(int id)
Definition:
sc_plugin.cpp:162
wxArrayInt
wxArray< int > wxArrayInt
FileTreeData
Definition:
cbproject.h:37
sc_base_types.h
ScriptBindings::ScriptPluginWrapper::CreateModuleMenu
wxArrayInt CreateModuleMenu(const ModuleType type, wxMenu *menu, const FileTreeData *data)
Definition:
sc_plugin.cpp:104
Generated by
1.8.13