KVIrc  4.9.2
DeveloperAPIs
Macros | Functions | Variables
libkvipython.cpp File Reference
#include "kvi_settings.h"
#include "KviModule.h"
#include "KviModuleManager.h"
#include "KviLocale.h"

Macros

#define KVS_CHECK_MODULE_STATE(_m, _c)
 
#define KVS_CHECK_PYTHONCORE(_m, _c)
 

Functions

static bool python_kvs_cmd_begin (KviKvsModuleCommandCall *c)
 
static bool python_kvs_cmd_destroy (KviKvsModuleCommandCall *c)
 
static bool python_kvs_fnc_isAvailable (KviKvsModuleFunctionCall *c)
 
static bool python_module_cleanup (KviModule *)
 
static bool python_module_init (KviModule *m)
 

Variables

static KviModuleg_pPythonCoreModule = nullptr
 

Macro Definition Documentation

#define KVS_CHECK_MODULE_STATE (   _m,
  _c 
)
Value:
if(!_c->switches()->find('q', "quiet")) \
_c->warning(__tr2qs_ctx("This KVIrc executable has been compiled without Python scripting support", "python")); \
return true;
audacious __tr2qs_ctx("An interface for the UNIX Audacious media player.\n""Download it from http://audacious-media-player.org\n","mediaplayer")) static const char *xmms_lib_names[]

Referenced by python_kvs_cmd_begin(), and python_kvs_cmd_destroy().

#define KVS_CHECK_PYTHONCORE (   _m,
  _c 
)

Function Documentation

static bool python_kvs_cmd_begin ( KviKvsModuleCommandCall c)
static
static bool python_kvs_cmd_destroy ( KviKvsModuleCommandCall c)
static
static bool python_kvs_fnc_isAvailable ( KviKvsModuleFunctionCall c)
static
static bool python_module_cleanup ( KviModule )
static
static bool python_module_init ( KviModule m)
static

Variable Documentation

KviModule* g_pPythonCoreModule = nullptr
static