KVIrc 5.2.6
Developer APIs
winamp.cpp File Reference
#include <windows.h>
#include <process.h>

Classes

struct  winampGeneralPurposePlugin
 

Macros

#define GPPHDR_VER   0x10
 
#define IPC_GETLISTPOS   125
 
#define IPC_GETPLAYLISTFILE   211
 
#define IPC_GETPLAYLISTTITLE   212
 
#define KVIRC_WM_USER   63112
 
#define KVIRC_WM_USER_CHECK   13123
 
#define KVIRC_WM_USER_CHECK_REPLY   13124
 
#define KVIRC_WM_USER_GETFILE   10000
 
#define KVIRC_WM_USER_GETTITLE   5000
 
#define KVIRC_WM_USER_TRANSFER   15000
 

Typedefs

typedef winampGeneralPurposePlugin *(* winampGeneralPurposePluginGetter) ()
 

Functions

 __declspec (dllexport) winampGeneralPurposePlugin *winampGetGeneralPurposePlugin()
 
void config ()
 
int init ()
 
void quit ()
 
LRESULT CALLBACK WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
 

Variables

winampGeneralPurposePlugingen_plugins [256]
 
void * lpWndProcOld = nullptr
 
winampGeneralPurposePlugin plugin
 
char szBuffer [4096]
 

Macro Definition Documentation

◆ GPPHDR_VER

#define GPPHDR_VER   0x10

◆ IPC_GETLISTPOS

#define IPC_GETLISTPOS   125

Referenced by WndProc().

◆ IPC_GETPLAYLISTFILE

#define IPC_GETPLAYLISTFILE   211

Referenced by WndProc().

◆ IPC_GETPLAYLISTTITLE

#define IPC_GETPLAYLISTTITLE   212

Referenced by WndProc().

◆ KVIRC_WM_USER

#define KVIRC_WM_USER   63112

Referenced by WndProc().

◆ KVIRC_WM_USER_CHECK

#define KVIRC_WM_USER_CHECK   13123

Referenced by WndProc().

◆ KVIRC_WM_USER_CHECK_REPLY

#define KVIRC_WM_USER_CHECK_REPLY   13124

Referenced by WndProc().

◆ KVIRC_WM_USER_GETFILE

#define KVIRC_WM_USER_GETFILE   10000

Referenced by WndProc().

◆ KVIRC_WM_USER_GETTITLE

#define KVIRC_WM_USER_GETTITLE   5000

Referenced by WndProc().

◆ KVIRC_WM_USER_TRANSFER

#define KVIRC_WM_USER_TRANSFER   15000

Referenced by WndProc().

Typedef Documentation

◆ winampGeneralPurposePluginGetter

typedef winampGeneralPurposePlugin *(* winampGeneralPurposePluginGetter) ()

Function Documentation

◆ __declspec()

__declspec ( dllexport )

References plugin.

◆ config()

void config ( )

◆ init()

◆ quit()

◆ WndProc()

LRESULT CALLBACK WndProc ( HWND hwnd,
UINT message,
WPARAM wParam,
LPARAM lParam )

Variable Documentation

◆ gen_plugins

winampGeneralPurposePlugin* gen_plugins[256]
extern

◆ lpWndProcOld

void* lpWndProcOld = nullptr

Referenced by init(), and WndProc().

◆ plugin

Initial value:
= {
"KVIrc interface plugin 1.0",
}
int init()
Definition winamp.cpp:118
void config()
Definition winamp.cpp:129
void quit()
Definition winamp.cpp:125
#define GPPHDR_VER
Definition winamp.cpp:45

Referenced by __declspec(), init(), PluginManager::loadPlugin(), and PluginManager::pluginCall().

◆ szBuffer

char szBuffer[4096]

Referenced by KviIrcView::add2Log(), KviCommandFormatter::addBlockBraces(), KviCommandFormatter::addBlockBraces(), KviKvsVariantList::allAsString(), KviKvsArray::appendAsString(), KviKvsHash::appendAsString(), KviKvsVariant::appendAsString(), KviUserListView::appendSelectedNicknames(), KviTheme::apply(), KviFileDialog::askForDirectoryName(), KviFileDialog::askForOpenFileName(), KviFileDialog::askForOpenFileNames(), KviFileDialog::askForSaveFileName(), KviKvsVariant::asString(), ScriptEditorWidget::asyncCompleterCreation(), KviNetUtils::binaryIpToStringIp(), KviCommandFormatter::blockFromBuffer(), KviCommandFormatter::blockFromBuffer(), KviCommandFormatter::bufferFromBlock(), KviCommandFormatter::bufferFromBlock(), ClassEditorWidget::build(), AliasEditorWidget::buildAliasesFile(), AliasEditorWidget::buildFullItemPath(), ClassEditorWidget::buildFullItemPath(), SetupWizard::chooseDataPath(), SetupWizard::chooseIncomingPath(), SetupWizard::chooseOldDataPath(), KviUserListView::completeNickLastAction(), KviUserListView::completeNickStandard(), KviKvsTreeNode::contextDescription(), KviKvsTreeNodeAliasFunctionCall::contextDescription(), KviKvsTreeNodeAliasSimpleCommand::contextDescription(), KviKvsTreeNodeArrayCount::contextDescription(), KviKvsTreeNodeArrayElement::contextDescription(), KviKvsTreeNodeArrayReferenceAssert::contextDescription(), KviKvsTreeNodeBaseObjectFunctionCall::contextDescription(), KviKvsTreeNodeCallbackCommand::contextDescription(), KviKvsTreeNodeCommand::contextDescription(), KviKvsTreeNodeCommandWithParameters::contextDescription(), KviKvsTreeNodeCompositeData::contextDescription(), KviKvsTreeNodeConstantData::contextDescription(), KviKvsTreeNodeCoreCallbackCommand::contextDescription(), KviKvsTreeNodeCoreFunctionCall::contextDescription(), KviKvsTreeNodeCoreSimpleCommand::contextDescription(), KviKvsTreeNodeData::contextDescription(), KviKvsTreeNodeDataList::contextDescription(), KviKvsTreeNodeExpression::contextDescription(), KviKvsTreeNodeExpressionBinaryOperator::contextDescription(), KviKvsTreeNodeExpressionConstantOperand::contextDescription(), KviKvsTreeNodeExpressionOperator::contextDescription(), KviKvsTreeNodeExpressionReturn::contextDescription(), KviKvsTreeNodeExpressionUnaryOperator::contextDescription(), KviKvsTreeNodeExpressionUnaryOperatorBitwiseNot::contextDescription(), KviKvsTreeNodeExpressionUnaryOperatorLogicalNot::contextDescription(), KviKvsTreeNodeExpressionUnaryOperatorNegate::contextDescription(), KviKvsTreeNodeExpressionVariableOperand::contextDescription(), KviKvsTreeNodeExtendedScopeVariable::contextDescription(), KviKvsTreeNodeFunctionCall::contextDescription(), KviKvsTreeNodeGlobalVariable::contextDescription(), KviKvsTreeNodeHashCount::contextDescription(), KviKvsTreeNodeHashElement::contextDescription(), KviKvsTreeNodeHashReferenceAssert::contextDescription(), KviKvsTreeNodeInstruction::contextDescription(), KviKvsTreeNodeInstructionBlock::contextDescription(), KviKvsTreeNodeLocalVariable::contextDescription(), KviKvsTreeNodeModuleCallbackCommand::contextDescription(), KviKvsTreeNodeModuleFunctionCall::contextDescription(), KviKvsTreeNodeModuleSimpleCommand::contextDescription(), KviKvsTreeNodeMultipleParameterIdentifier::contextDescription(), KviKvsTreeNodeObjectField::contextDescription(), KviKvsTreeNodeObjectFunctionCall::contextDescription(), KviKvsTreeNodeOperation::contextDescription(), KviKvsTreeNodeOperationArrayAppend::contextDescription(), KviKvsTreeNodeOperationAssignment::contextDescription(), KviKvsTreeNodeOperationDecrement::contextDescription(), KviKvsTreeNodeOperationIncrement::contextDescription(), KviKvsTreeNodeOperationSelfAnd::contextDescription(), KviKvsTreeNodeOperationSelfDivision::contextDescription(), KviKvsTreeNodeOperationSelfModulus::contextDescription(), KviKvsTreeNodeOperationSelfMultiplication::contextDescription(), KviKvsTreeNodeOperationSelfOr::contextDescription(), KviKvsTreeNodeOperationSelfShl::contextDescription(), KviKvsTreeNodeOperationSelfShr::contextDescription(), KviKvsTreeNodeOperationSelfSubtraction::contextDescription(), KviKvsTreeNodeOperationSelfSum::contextDescription(), KviKvsTreeNodeOperationSelfXor::contextDescription(), KviKvsTreeNodeOperationStringAppend::contextDescription(), KviKvsTreeNodeOperationStringAppendWithComma::contextDescription(), KviKvsTreeNodeOperationStringAppendWithSpace::contextDescription(), KviKvsTreeNodeOperationStringSubstitution::contextDescription(), KviKvsTreeNodeOperationStringTransliteration::contextDescription(), KviKvsTreeNodeParameterCount::contextDescription(), KviKvsTreeNodeParameterReturn::contextDescription(), KviKvsTreeNodeRebindingSwitch::contextDescription(), KviKvsTreeNodeScopeOperator::contextDescription(), KviKvsTreeNodeSimpleCommand::contextDescription(), KviKvsTreeNodeSingleParameterIdentifier::contextDescription(), KviKvsTreeNodeSpecialCommand::contextDescription(), KviKvsTreeNodeSpecialCommandBreak::contextDescription(), KviKvsTreeNodeSpecialCommandClass::contextDescription(), KviKvsTreeNodeSpecialCommandClassFunctionDefinition::contextDescription(), KviKvsTreeNodeSpecialCommandContinue::contextDescription(), KviKvsTreeNodeSpecialCommandDefpopup::contextDescription(), KviKvsTreeNodeSpecialCommandDefpopupLabelEpilogue::contextDescription(), KviKvsTreeNodeSpecialCommandDefpopupLabelExtpopup::contextDescription(), KviKvsTreeNodeSpecialCommandDefpopupLabelItem::contextDescription(), KviKvsTreeNodeSpecialCommandDefpopupLabelLabel::contextDescription(), KviKvsTreeNodeSpecialCommandDefpopupLabelPopup::contextDescription(), KviKvsTreeNodeSpecialCommandDefpopupLabelPrologue::contextDescription(), KviKvsTreeNodeSpecialCommandDefpopupLabelSeparator::contextDescription(), KviKvsTreeNodeSpecialCommandDo::contextDescription(), KviKvsTreeNodeSpecialCommandFor::contextDescription(), KviKvsTreeNodeSpecialCommandForeach::contextDescription(), KviKvsTreeNodeSpecialCommandIf::contextDescription(), KviKvsTreeNodeSpecialCommandSwitch::contextDescription(), KviKvsTreeNodeSpecialCommandSwitchLabelCase::contextDescription(), KviKvsTreeNodeSpecialCommandSwitchLabelDefault::contextDescription(), KviKvsTreeNodeSpecialCommandSwitchLabelMatch::contextDescription(), KviKvsTreeNodeSpecialCommandSwitchLabelRegexp::contextDescription(), KviKvsTreeNodeSpecialCommandUnset::contextDescription(), KviKvsTreeNodeSpecialCommandWhile::contextDescription(), KviKvsTreeNodeStringCast::contextDescription(), KviKvsTreeNodeSwitchList::contextDescription(), KviKvsTreeNodeThisObjectFunctionCall::contextDescription(), KviKvsTreeNodeVoidFunctionCall::contextDescription(), ClassEditorWidget::currentItemChanged(), KviStringConversion::decodePath(), KviStringConversion::encodePath(), ClassEditorWidget::exportClassBuffer(), KviKvsUserAction::exportToKvs(), KviKvsUserAction::exportToKvs(), DccFileTransfer::fillStatusString(), LogViewWindow::filterNext(), KviLocale::findCatalogue(), KviKvsVariantList::firstAsString(), KviNetUtils::formatNetworkBandwidthString(), KviStringConversion::fromString(), KviKvsSwitchList::getAsStringIfExisting(), KviChannelWindow::getBaseLogFileName(), KviQueryWindow::getBaseLogFileName(), KviWindow::getBaseLogFileName(), ListWindow::getBaseLogFileName(), KviChannelWindow::getChannelModeString(), KviChannelWindow::getChannelModeStringWithEmbeddedParams(), KviChannelWindow::getConfigGroupName(), KviWindow::getConfigGroupName(), getDateTimeStringFromCharTimeT(), KviModule::getDefaultConfigFileName(), KviWindow::getDefaultLogFileName(), KviWindow::getDefaultLogFileName(), KviSockaddr::getStringAddress(), KviPackageReader::getStringInfoField(), KviChannelWindow::getTalkingUsersStats(), ThemeFunctions::getThemeHtmlDescription(), KviApplication::getTmpFileName(), KviKvsVariant::getTypeName(), AliasEditorWidget::getUniqueItemName(), KviChannelWindow::getWindowListTipText(), KviQueryWindow::getWindowListTipText(), KviWindow::getWindowListTipText(), KviInputEditor::getWordBeforeCursor(), KviCommandFormatter::indent(), KviCommandFormatter::indent(), kvi_binaryIpToStringIp(), KviIconManager::KviIconManager(), KviKvsScript::KviKvsScript(), KviKvsScript::KviKvsScript(), KviKvsTreeNodeSpecialCommandClassFunctionDefinition::KviKvsTreeNodeSpecialCommandClassFunctionDefinition(), KviLocale::KviLocale(), KviKvsCoreFunctions::KVSCF(), KviKvsCoreSimpleCommands::KVSCSC(), KviKvsObjectClass::load(), KviLocale::loadCatalogue(), ScriptEditorWidget::loadCompleterFromFile(), KviFileUtils::loadFile(), ScriptEditorImplementation::loadFromFile(), ClassEditorWidget::loadNotBuiltClasses(), KviIconManager::loadSmallIcon(), log_kvs_fnc_file(), KviApplication::mapImageFile(), KviUserListView::maybeTip(), KviKvsVariantList::nextAsString(), KviAsyncAvatarSelectionDialog::okClicked(), KviChannelWindow::ownAction(), KviQueryWindow::ownAction(), KviChannelWindow::ownMessage(), KviQueryWindow::ownMessage(), KviKvsParameterProcessor::ParameterFormat::ParameterFormat(), KviKvsParameterProcessor::ParameterFormat::ParameterFormat(), KviIrcServerParser::parseCtcpRequestAction(), KviIrcServerParser::parseLiteralNotice(), KviIrcServerParser::parseLiteralPrivmsg(), KviIrcServerParser::parseLiteralTopic(), KviIrcServerParser::parseNumericTopic(), KviChannelWindow::prependUserFlag(), KviUserListView::prependUserFlag(), KviFileUtils::readFile(), KviFileUtils::readFile(), KviFileUtils::readLine(), KviKvsObjectClass::registerFunctionHandler(), KviKvsObjectClass::save(), ClassEditorWidget::saveNotBuiltClasses(), ScriptEditorImplementation::saveToFile(), KviInputEditor::sendKvs(), KviInputEditor::sendPlain(), KviKvsArray::serialize(), KviKvsVariant::serializeString(), AliasEditorTreeWidgetItem::setBuffer(), ClassEditorTreeWidgetItem::setBuffer(), KviApplication::setOptionValue(), KviUserListView::setUserOp(), KviInputEditor::standardNickCompletion(), KviStringConversion::toString(), KviStringConversion::toString(), KviStringConversion::toString(), KviStringConversion::toString(), KviStringConversion::toString(), KviStringConversion::toString(), KviStringConversion::toString(), KviStringConversion::toString(), KviStringConversion::toString(), KviStringConversion::toString(), KviCommandFormatter::trimBlockBraces(), KviCommandFormatter::trimBlockBraces(), KviCommandFormatter::unindent(), KviCommandFormatter::unindent(), KviKvsVariant::unserialize(), KviKvsVariant::unserializeString(), KviQueryWindow::updateLabelText(), KviIrcConnectionTargetResolver::validateLocalAddress(), WndProc(), KviFileDialog::~KviFileDialog(), KviKvsTreeNodeAliasFunctionCall::~KviKvsTreeNodeAliasFunctionCall(), KviKvsTreeNodeAliasSimpleCommand::~KviKvsTreeNodeAliasSimpleCommand(), KviKvsTreeNodeArrayCount::~KviKvsTreeNodeArrayCount(), KviKvsTreeNodeArrayReferenceAssert::~KviKvsTreeNodeArrayReferenceAssert(), KviKvsTreeNodeExpressionOperator::~KviKvsTreeNodeExpressionOperator(), KviKvsTreeNodeExpressionUnaryOperatorBitwiseNot::~KviKvsTreeNodeExpressionUnaryOperatorBitwiseNot(), KviKvsTreeNodeExpressionUnaryOperatorLogicalNot::~KviKvsTreeNodeExpressionUnaryOperatorLogicalNot(), KviKvsTreeNodeExpressionUnaryOperatorNegate::~KviKvsTreeNodeExpressionUnaryOperatorNegate(), KviKvsTreeNodeExtendedScopeVariable::~KviKvsTreeNodeExtendedScopeVariable(), KviKvsTreeNodeGlobalVariable::~KviKvsTreeNodeGlobalVariable(), KviKvsTreeNodeHashCount::~KviKvsTreeNodeHashCount(), KviKvsTreeNodeHashReferenceAssert::~KviKvsTreeNodeHashReferenceAssert(), KviKvsTreeNodeLocalVariable::~KviKvsTreeNodeLocalVariable(), KviKvsTreeNodeObjectField::~KviKvsTreeNodeObjectField(), KviKvsTreeNodeObjectFunctionCall::~KviKvsTreeNodeObjectFunctionCall(), KviKvsTreeNodeOperationDecrement::~KviKvsTreeNodeOperationDecrement(), KviKvsTreeNodeOperationIncrement::~KviKvsTreeNodeOperationIncrement(), KviKvsTreeNodeParameterCount::~KviKvsTreeNodeParameterCount(), KviKvsTreeNodeSimpleCommand::~KviKvsTreeNodeSimpleCommand(), KviKvsTreeNodeSpecialCommand::~KviKvsTreeNodeSpecialCommand(), KviKvsTreeNodeSpecialCommandBreak::~KviKvsTreeNodeSpecialCommandBreak(), KviKvsTreeNodeSpecialCommandContinue::~KviKvsTreeNodeSpecialCommandContinue(), KviKvsTreeNodeSpecialCommandSwitchLabelCase::~KviKvsTreeNodeSpecialCommandSwitchLabelCase(), KviKvsTreeNodeSpecialCommandSwitchLabelDefault::~KviKvsTreeNodeSpecialCommandSwitchLabelDefault(), KviKvsTreeNodeSpecialCommandSwitchLabelMatch::~KviKvsTreeNodeSpecialCommandSwitchLabelMatch(), KviKvsTreeNodeSpecialCommandSwitchLabelRegexp::~KviKvsTreeNodeSpecialCommandSwitchLabelRegexp(), and KviKvsTreeNodeThisObjectFunctionCall::~KviKvsTreeNodeThisObjectFunctionCall().