KVIrc
4.9.2
DeveloperAPIs
|
#include "KviApplication.h"
#include "KviCString.h"
#include "kvi_settings.h"
#include "KviIrcUrl.h"
#include "kvi_defaults.h"
#include "kvi_sourcesdate.h"
#include "KviMessageBox.h"
#include "KviBuildInfo.h"
#include <QtGlobal>
#include <QMessageBox>
Classes | |
struct | _ParseArgs |
Macros | |
#define | KVI_ARGS_RETCODE_ERROR 1 |
#define | KVI_ARGS_RETCODE_OK 0 |
#define | KVI_ARGS_RETCODE_STOP 2 |
Typedefs | |
typedef struct _ParseArgs | ParseArgs |
Functions | |
bool | kvi_sendIpcMessage (const char *message) |
int | main (int argc, char **argv) |
int | parseArgs (ParseArgs *a) |
#define KVI_ARGS_RETCODE_ERROR 1 |
Referenced by main(), and parseArgs().
#define KVI_ARGS_RETCODE_OK 0 |
Referenced by main(), and parseArgs().
#define KVI_ARGS_RETCODE_STOP 2 |
Referenced by parseArgs().
typedef struct _ParseArgs ParseArgs |
bool kvi_sendIpcMessage | ( | const char * | message | ) |
COMPILE_NO_X
References e, KVI_WINDOWS_IPC_MESSAGE, NULL, and KviMemory::set().
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
References a, _ParseArgs::argc, _ParseArgs::argv, _ParseArgs::bExecuteCommandAndClose, _ParseArgs::bForceNewSession, _ParseArgs::bShowPopup, _ParseArgs::configFile, _ParseArgs::createFile, KviCString::Format, KviMessageBox::information(), init(), KVI_ARGS_RETCODE_ERROR, KVI_ARGS_RETCODE_OK, kvi_sendIpcMessage(), KVI_VERSION, KviApplication::m_bCreateConfig, KviApplication::m_szConfigFile, KviApplication::m_szExecAfterStartup, parseArgs(), KviCString::ptr(), KviApplication::setup(), _ParseArgs::szExecCommand, _ParseArgs::szExecRemoteCommand, and KviStringConversion::toString().
Referenced by KviMenuBar::setupMainPopup().
int parseArgs | ( | ParseArgs * | a | ) |
References KviQString::appendFormatted(), _ParseArgs::argc, _ParseArgs::argv, _ParseArgs::bExecuteCommandAndClose, _ParseArgs::bForceNewSession, _ParseArgs::bShowPopup, KviBuildInfo::buildDate(), _ParseArgs::configFile, _ParseArgs::createFile, KviQString::equalCI(), KVI_ARGS_RETCODE_ERROR, KVI_ARGS_RETCODE_OK, KVI_ARGS_RETCODE_STOP, KVI_HOME_CONFIG_FILE_NAME, KVI_RELEASE_NAME, KVI_SOURCES_DATE, kvi_strEqualCI(), kvi_strEqualCIN(), kvi_strLen, KVI_VERSION, p, _ParseArgs::szExecCommand, and _ParseArgs::szExecRemoteCommand.
Referenced by main().