X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=dev-notes%2Fbuiltin_cmds.obsolete.cpp;fp=network%2Fbuiltin_cmds.cpp;h=5a9acf680ad0d7b80dd26fd5ae66f975b76094ab;hp=592746928902ed2634a70ab7e55f521b6920a354;hb=12369966345e76e3bba92f64c84c940ef4d8d916;hpb=3e7ed151306ef44a9be5ca7e3f37c89408d4a6d1 diff --git a/network/builtin_cmds.cpp b/dev-notes/builtin_cmds.obsolete.cpp similarity index 95% rename from network/builtin_cmds.cpp rename to dev-notes/builtin_cmds.obsolete.cpp index 59274692..5a9acf68 100644 --- a/network/builtin_cmds.cpp +++ b/dev-notes/builtin_cmds.obsolete.cpp @@ -18,11 +18,12 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ -/* THIS CODE IS OBSOLETE! */ +#error THIS CODE IS OBSOLETE! -#include -//#include "message.h" -#include "cmdcodes.h" +/* We are keeping this for further reference only. + * This method of defining server commands sucked, but at least we have a quite complete list + * of commands here. + */ /** This macro marks strings as translateable for Qt's linguist tools */ #define _(str) QT_TR_NOOP(str) @@ -32,10 +33,6 @@ * 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[] = { { CMD_ADMIN, "admin", _("Get information about the administrator of a server."), _("[server]"), _("server: Server"), 0, 0 },