00001
00002
00003
00004
00005
00006
00007 #pragma once
00008
00009 #include <string>
00010
00011 #include <string>
00012
00013 #include <Swiften/Elements/Payload.h>
00014
00015 namespace Swift {
00016
00017 class DeliveryReceipt : public Payload {
00018 public:
00019 typedef boost::shared_ptr<DeliveryReceipt> ref;
00020
00021 public:
00022 DeliveryReceipt() {}
00023
00024 DeliveryReceipt(const std::string& msgId) : receivedID_(msgId) {}
00025
00026 void setReceivedID(const std::string& msgId) {
00027 receivedID_ = msgId;
00028 }
00029
00030 std::string getReceivedID() const {
00031 return receivedID_;
00032 }
00033
00034 private:
00035 std::string receivedID_;
00036 };
00037
00038 }