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
00035 class GLOOX_API AdhocCommandProvider
00036 {
00037 public:
00041 virtual ~AdhocCommandProvider() {}
00042
00053 virtual void handleAdhocCommand( const std::string& command, Tag *tag, const JID& from,
00054 const std::string& id ) = 0;
00055
00056 };
00057
00058 }
00059
00060 #endif // ADHOCCOMMANDPROVIDER_H__