From 293df6a8b55e89c127e60e92711ef0ef1027bff8 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Dec 2005 18:10:38 +0000 Subject: Split all commands into seperate files and redid command system to take classes, not function pointers (function pointers suck ass) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2534 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/cmd_version.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 include/cmd_version.h (limited to 'include/cmd_version.h') diff --git a/include/cmd_version.h b/include/cmd_version.h new file mode 100644 index 000000000..8e0b475cd --- /dev/null +++ b/include/cmd_version.h @@ -0,0 +1,38 @@ +/* +------------------------------------+ + * | Inspire Internet Relay Chat Daemon | + * +------------------------------------+ + * + * Inspire is copyright (C) 2002-2004 ChatSpike-Dev. + * E-mail: + * + * + * + * Written by Craig Edwards, Craig McLure, and others. + * This program is free but copyrighted software; see + * the file COPYING for details. + * + * --------------------------------------------------- + */ + +#ifndef __CMD_VERSION_H__ +#define __CMD_VERSION_H__ + +// include the common header files + +#include +#include +#include +#include +#include +#include +#include "users.h" +#include "channels.h" + +class cmd_version : public command_t +{ + public: + cmd_version () : command_t("VERSION",0,0) { } + void Handle(char **parameters, int pcnt, userrec *user); +}; + +#endif -- cgit v1.2.3