2008-08-31 09:08:24 +00:00
|
|
|
#ifndef MIRC_H
|
|
|
|
#define MIRC_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include <QString>
|
|
|
|
#include <QMap>
|
2008-08-31 09:50:57 +00:00
|
|
|
#include <QVector>
|
2008-08-31 09:08:24 +00:00
|
|
|
#include "script.h"
|
|
|
|
|
2008-08-31 09:50:57 +00:00
|
|
|
class MIRCScript;
|
|
|
|
|
2008-08-31 09:08:24 +00:00
|
|
|
class MIRCScriptManager : public QObject {
|
|
|
|
Q_OBJECT
|
2008-08-31 09:50:57 +00:00
|
|
|
private:
|
|
|
|
QObject *parent;
|
|
|
|
QVector<MIRCScript> scripts;
|
|
|
|
QMap<QString, QString> _variables;
|
2008-08-31 09:08:24 +00:00
|
|
|
public:
|
2008-08-31 09:50:57 +00:00
|
|
|
MIRCScriptManager(QObject *parent = 0);
|
|
|
|
/*
|
|
|
|
bool load(QString filename);
|
|
|
|
bool unload(QString filename);
|
2008-08-31 09:08:24 +00:00
|
|
|
|
2008-08-31 09:50:57 +00:00
|
|
|
QString call_alias(QString alias, QStringList arguments);
|
|
|
|
QString variable(QString variable);
|
|
|
|
*/
|
2008-08-31 09:08:24 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|