Add config dir to default load path
[clinton/bobotpp.git] / source / ScriptCommands.H
index 231baeb..2c725e6 100644 (file)
 
 #include <libguile.h>
 
+#include <functional>
+
+class User;
+
 class ScriptCommands {
 public:
   static SCM Action(SCM, SCM);
@@ -36,6 +40,7 @@ public:
   static SCM AddShit(SCM, SCM, SCM, SCM, SCM);
   static SCM Ban(SCM, SCM);
   static SCM ChangeCommandLevel(SCM, SCM);
+  static SCM ChannelUsers (SCM);
   static SCM CTCP(SCM, SCM, SCM);
   static SCM CTCPReply(SCM, SCM, SCM);
   static SCM Cycle(SCM);
@@ -109,6 +114,11 @@ public:
   SCM sendWho(SCM);
   SCM sendWhois(SCM);
   */
+private:
+  struct collect_channel_users : std::binary_function<SCM*, User, void>
+  {
+    void operator() (SCM*, User) const;
+  };
 };
 
 #endif