KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pluginldr.h File Reference

defines the most basic functions which all kicad plugin loaders require. More...

#include <string>
#include <wx/dynlib.h>
#include <wx/string.h>

Go to the source code of this file.

Classes

class  KICAD_PLUGIN_LDR
 

Macros

#define MASK_PLUGINLDR   wxT( "PLUGIN_LOADER" )
 
#define LINK_ITEM(funcPtr, funcType, funcName)    funcPtr = (funcType) m_PluginLoader.GetSymbol( wxT( funcName ) )
 

Typedefs

typedef char const *(* GET_PLUGIN_CLASS) (void)
 
typedef void(* GET_CLASS_VERSION) (unsigned char *, unsigned char *, unsigned char *, unsigned char *)
 
typedef bool(* CHECK_CLASS_VERSION) (unsigned char, unsigned char, unsigned char, unsigned char)
 
typedef const char *(* GET_PLUGIN_NAME) (void)
 
typedef void(* GET_VERSION) (unsigned char *, unsigned char *, unsigned char *, unsigned char *)
 

Variables

const wxChar *const tracePluginLoader
 Flag to enable plugin loader trace output.
 

Detailed Description

defines the most basic functions which all kicad plugin loaders require.

defines the most basic functions which all KiCad plugin loaders require.

Definition in file pluginldr.h.

Macro Definition Documentation

◆ LINK_ITEM

#define LINK_ITEM (   funcPtr,
  funcType,
  funcName 
)     funcPtr = (funcType) m_PluginLoader.GetSymbol( wxT( funcName ) )

Definition at line 45 of file pluginldr.h.

◆ MASK_PLUGINLDR

#define MASK_PLUGINLDR   wxT( "PLUGIN_LOADER" )

Definition at line 41 of file pluginldr.h.

Typedef Documentation

◆ CHECK_CLASS_VERSION

typedef bool(* CHECK_CLASS_VERSION) (unsigned char, unsigned char, unsigned char, unsigned char)

Definition at line 54 of file pluginldr.h.

◆ GET_CLASS_VERSION

typedef void(* GET_CLASS_VERSION) (unsigned char *, unsigned char *, unsigned char *, unsigned char *)

Definition at line 51 of file pluginldr.h.

◆ GET_PLUGIN_CLASS

typedef char const *(* GET_PLUGIN_CLASS) (void)

Definition at line 49 of file pluginldr.h.

◆ GET_PLUGIN_NAME

typedef const char *(* GET_PLUGIN_NAME) (void)

Definition at line 57 of file pluginldr.h.

◆ GET_VERSION

typedef void(* GET_VERSION) (unsigned char *, unsigned char *, unsigned char *, unsigned char *)

Definition at line 59 of file pluginldr.h.