mirror of
https://github.com/correl/mercenary.git
synced 2024-11-27 11:09:52 +00:00
Correl Roush
3dac90e658
Also, broke up the parser a bit to ease compilation git-svn-id: file:///srv/svn/ircclient/trunk@3 a9804ffe-773b-11dd-bd7c-89c3ef1d2733
21 lines
No EOL
474 B
C++
21 lines
No EOL
474 B
C++
#include "mirc.h"
|
|
|
|
MIRCScriptManager::MIRCScriptManager(QObject *parent) {
|
|
this->parent = parent;
|
|
}
|
|
|
|
bool MIRCScriptManager::hasVariable(QString variable) {
|
|
return _variables.contains(variable);
|
|
}
|
|
|
|
QString MIRCScriptManager::variable(QString variable) {
|
|
return _variables.value(variable);
|
|
}
|
|
|
|
void MIRCScriptManager::variable(QString variable, QString value) {
|
|
_variables[variable] = value;
|
|
}
|
|
|
|
QMap<QString, QString> MIRCScriptManager::variables() {
|
|
return _variables;
|
|
} |