From 293df6a8b55e89c127e60e92711ef0ef1027bff8 Mon Sep 17 00:00:00 2001
From: brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
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_privmsg.h | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 include/cmd_privmsg.h

(limited to 'include/cmd_privmsg.h')

diff --git a/include/cmd_privmsg.h b/include/cmd_privmsg.h
new file mode 100644
index 000000000..9f4f3d1b3
--- /dev/null
+++ b/include/cmd_privmsg.h
@@ -0,0 +1,38 @@
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  Inspire is copyright (C) 2002-2004 ChatSpike-Dev.
+ *                       E-mail:
+ *                <brain.net>
+ *                <Craig.net>
+ *
+ * Written by Craig Edwards, Craig McLure, and others.
+ * This program is free but copyrighted software; see
+ *            the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
+#ifndef __CMD_PRIVMSG_H__
+#define __CMD_PRIVMSG_H__
+
+// include the common header files
+
+#include <typeinfo>
+#include <iostream>
+#include <string>
+#include <deque>
+#include <sstream>
+#include <vector>
+#include "users.h"
+#include "channels.h"
+
+class cmd_privmsg : public command_t
+{
+ public:
+        cmd_privmsg () : command_t("PRIVMSG",0,2) { }
+        void Handle(char **parameters, int pcnt, userrec *user);
+};
+
+#endif
-- 
cgit v1.2.3