Prepare some changes in the file layout.
[quassel.git] / network / builtin_cmds.cpp
index 3bffb1f..c7c3a9d 100644 (file)
 #include "messages.h"
 
 
+/** This macro marks strings as translateable for Qt's linguist tools */
 #define _(str) QT_TR_NOOP(str)
 
+
 /** Defines the message codes according to RFCs 1495/281x.
  *  Named commands have a negative enum value.
  */
 
+/** \NOTE: Function handlers _must_ be global functions or static methods! */
+
+/** Set handler addresses to 0 to use the default (server) handler. */
+
 BuiltinCmd builtins[] = {
   { _("admin"), _("Get information about the administrator of a server."),
     _("[server]"), _("server: Server"),
-    &Message::test1 },
+    0, 0 },
 
 
-  { 0, 0, 0, 0, 0 }
+  { 0, 0, 0, 0, 0, 0 }
 };