projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OK Folks, my first commit after quite a while, and while Quassel looks the same as...
[quassel.git]
/
src
/
common
/
global.h
diff --git
a/src/common/global.h
b/src/common/global.h
index
1f4eb68
..
efa27aa
100644
(file)
--- a/
src/common/global.h
+++ b/
src/common/global.h
@@
-22,15
+22,19
@@
#define _GLOBAL_H_
/** The protocol version we use fo the communication between core and GUI */
#define _GLOBAL_H_
/** The protocol version we use fo the communication between core and GUI */
-#define GUI_PROTOCOL
2
+#define GUI_PROTOCOL
3
#define BACKLOG_FORMAT 2
#define BACKLOG_STRING "QuasselIRC Backlog File"
#define BACKLOG_FORMAT 2
#define BACKLOG_STRING "QuasselIRC Backlog File"
+#define DEFAULT_PORT 4242
+
class Global;
class Global;
-#include <QtCore>
-//#include <QMutex>
+#include <QHash>
+#include <QMutex>
+#include <QString>
+#include <QVariant>
/* Some global stuff */
typedef QMap<QString, QVariant> VarMap;
/* Some global stuff */
typedef QMap<QString, QVariant> VarMap;
@@
-99,6
+103,7
@@
class Global : public QObject {
struct Exception {
Exception(QString msg = "Unknown Exception") : _msg(msg) {};
struct Exception {
Exception(QString msg = "Unknown Exception") : _msg(msg) {};
+ virtual ~Exception() {}; // make gcc happy
virtual inline QString msg() { return _msg; }
protected:
virtual inline QString msg() { return _msg; }
protected: