00001
00002
00003
00004
00005
00006
00007 #pragma once
00008
00009 #include <Swiften/Base/API.h>
00010 #include <Swiften/Component/CoreComponent.h>
00011
00012 namespace Swift {
00013 class SoftwareVersionResponder;
00014
00021 class SWIFTEN_API Component : public CoreComponent {
00022 public:
00023 Component(EventLoop* eventLoop, NetworkFactories* networkFactories, const JID& jid, const std::string& secret);
00024 ~Component();
00025
00031 void setSoftwareVersion(const std::string& name, const std::string& version);
00032
00033 private:
00034 SoftwareVersionResponder* softwareVersionResponder;
00035 };
00036 }