blob: 53be3186bbe16e0329f9902dc22fd065e9e148c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#pragma once
#include "Swiften/Base/String.h"
#include "Swiften/Base/ByteArray.h"
#include "Swiften/Elements/Payload.h"
namespace Swift {
class VCard : public Payload {
public:
VCard() {}
void setPhoto(const ByteArray& photo) { photo_ = photo; }
const ByteArray& getPhoto() { return photo_; }
void setPhotoType(const String& photoType) { photoType_ = photoType; }
const String& getPhotoType() { return photoType_; }
private:
ByteArray photo_;
String photoType_;
};
}
|