00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef ADHOCCOMMANDPROVIDER_H__
00016 #define ADHOCCOMMANDPROVIDER_H__
00017
00018 #include "tag.h"
00019 #include "jid.h"
00020
00021 #include <list>
00022 #include <map>
00023 #include <string>
00024
00025 namespace gloox
00026 {
00027
00034 class GLOOX_API AdhocCommandProvider
00035 {
00036 public:
00040 virtual ~AdhocCommandProvider() {};
00041
00052 virtual void handleAdhocCommand( const std::string& command, Tag *tag, const JID& from,
00053 const std::string& id ) = 0;
00054
00055 };
00056
00057 }
00058
00059 #endif // ADHOCCOMMANDPROVIDER_H__