29#ifndef PCBNEW_ACTION_PLUGINS_H
30#define PCBNEW_ACTION_PLUGINS_H
32#undef HAVE_CLOCK_GETTIME
34#undef HAVE_CLOCK_GETTIME
59 PyObject*
CallMethod(
const char* aMethod, PyObject* aArglist =
nullptr );
60 wxString
CallRetStrMethod(
const char* aMethod, PyObject* aArglist =
nullptr );
Class PCBNEW_ACTION_PLUGINS.
This is the parent class from where any action plugin class must derive.
static void deregister_action(PyObject *aPyAction)
static void register_action(PyObject *aPyAction)
bool GetShowToolbarButton() override
wxString CallRetStrMethod(const char *aMethod, PyObject *aArglist=nullptr)
PyObject * CallMethod(const char *aMethod, PyObject *aArglist=nullptr)
wxString GetCategoryName() override
wxString GetName() override
wxString GetDescription() override
wxString GetPluginPath() override
void Run() override
This method the the action.
wxString GetIconFileName(bool aDark) override
wxString GetClassName() override
void * GetObject() override
This method gets the pointer to the object from where this action constructs.