blob: d66e168740339e55dcb0c438ea81b9a905e0f09d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef SWIFTEN_SoftwareVersionResponder_H
#define SWIFTEN_SoftwareVersionResponder_H
#include "Swiften/Queries/Responder.h"
#include "Swiften/Elements/SoftwareVersion.h"
namespace Swift {
class IQRouter;
class SoftwareVersionResponder : public Responder<SoftwareVersion> {
public:
SoftwareVersionResponder(const String& client, const String& version, IQRouter* router);
private:
virtual bool handleGetRequest(const JID& from, const String& id, boost::shared_ptr<SoftwareVersion> payload);
virtual bool handleSetRequest(const JID& from, const String& id, boost::shared_ptr<SoftwareVersion> payload);
private:
String client_;
String version_;
};
}
#endif
|