This fix of the SignalProxy features more backward compatibility
[quassel.git] / src / common / global.h
index c298766..79cfce5 100644 (file)
 #ifndef _GLOBAL_H_
 #define _GLOBAL_H_
 
+// Enable some shortcuts and stuff
+//#define DEVELMODE
+
+
 /** The protocol version we use fo the communication between core and GUI */
-#define GUI_PROTOCOL 3
+#define GUI_PROTOCOL 4
 
-#define DEFAULT_PORT 4242
+//#define DEFAULT_PORT 4242
 
 /* Some global stuff */
 
 namespace Global {
   enum RunMode { Monolithic, ClientOnly, CoreOnly };
   extern RunMode runMode;
+  extern unsigned int defaultPort;
 }
 
 #endif