KVIrc 5.2.6
Developer APIs
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

References g_pScriptEditorWindowList.

Referenced by KVIRC_MODULE().

◆ editor_module_cleanup()

static bool editor_module_cleanup ( KviModule * )
static

References g_pScriptEditorWindowList, t, and w.

Referenced by KVIRC_MODULE().

◆ editor_module_destroyScriptEditor()

KVIMODULEEXPORTFUNC void editor_module_destroyScriptEditor ( KviScriptEditor * e)

References e, and KVIMODULEEXPORTFUNC.

◆ editor_module_init()

static bool editor_module_init ( KviModule * m)
static

References g_pEditorModulePointer, and m.

Referenced by KVIRC_MODULE().

◆ 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 ,
0 ,
editor_module_cleanup ,
"editor"  )

Variable Documentation

◆ g_pEditorModulePointer

◆ g_pScriptEditorWindowList