KVIrc 5.2.4
Developer APIs
Functions | Variables
libkvieditor.cpp File Reference
#include "ScriptEditorImplementation.h"
#include "KviModule.h"
#include "KviWindow.h"

Functions

static bool editor_module_can_unload (KviModule *)
 
static bool editor_module_cleanup (KviModule *)
 
KVIMODULEEXPORTFUNC void editor_module_destroyScriptEditor (KviScriptEditor *e)
 
static bool editor_module_init (KviModule *m)
 
 KVIRC_MODULE ("Editor", "4.0.0", "Copyright (C) 2000 Szymon Stefanek (pragma at kvirc dot net)", "Text editor extension", editor_module_init, editor_module_can_unload, 0, editor_module_cleanup, "editor") KVIMODULEEXPORTFUNC KviScriptEditor *editor_module_createScriptEditor(QWidget *par)
 

Variables

KviModuleg_pEditorModulePointer = nullptr
 
std::set< ScriptEditorImplementation * > g_pScriptEditorWindowList
 

Function Documentation

◆ editor_module_can_unload()

static bool editor_module_can_unload ( KviModule )
static

◆ editor_module_cleanup()

static bool editor_module_cleanup ( KviModule )
static

References g_pScriptEditorWindowList, t, and w.

◆ editor_module_destroyScriptEditor()

KVIMODULEEXPORTFUNC void editor_module_destroyScriptEditor ( KviScriptEditor e)

References e.

◆ editor_module_init()

static bool editor_module_init ( KviModule m)
static

References g_pEditorModulePointer, and m.

◆ KVIRC_MODULE()

KVIRC_MODULE ( "Editor"  ,
"4.0.0"  ,
"Copyright (C) 2000 Szymon Stefanek (pragma at kvirc dot net)"  ,
"Text editor extension"  ,
editor_module_init  ,
editor_module_can_unload  ,
,
editor_module_cleanup  ,
"editor"   
)

Variable Documentation

◆ g_pEditorModulePointer

KviModule* g_pEditorModulePointer = nullptr

◆ g_pScriptEditorWindowList

std::set<ScriptEditorImplementation *> g_pScriptEditorWindowList