#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 }
};