00001
00002
00003
00004
00005
00006
00007 #pragma once
00008
00009 #include <string>
00010 #include <Swiften/Elements/Payload.h>
00011
00012 namespace Swift {
00013 class Version : public Payload {
00014 public:
00015 Version(const std::string& name = "", const std::string& version = "", const std::string& os = "") : name_(name), version_(version), os_(os) { }
00016
00017 const std::string& getName() const { return name_; }
00018 const std::string& getVersion() const { return version_; }
00019 const std::string& getOS() const { return os_; }
00020
00021 private:
00022 std::string name_;
00023 std::string version_;
00024 std::string os_;
00025 };
00026 }