#define _QUASSEL_H_
class Logger;
-class QString;
#include <QHash>
+#include <QString>
/**
* A static class containing global data.
+ * This is used in both core and GUI modules. Where appropriate, accessors are thread-safe
+ * to account for that fact.
*/
class Quassel {
+ Q_OBJECT
public:
static void init();
};
+class Exception {
+ public:
+ Exception(QString msg = "Unknown Exception") : _msg(msg) {};
+ virtual inline QString msg() { return _msg; }
+
+ protected:
+ QString _msg;
+
+};
+
#endif