Files
@ c301557e2f4c
Branch filter:
Location: libtransport.git/include/Swiften/Elements/HintPayload.h - annotation
c301557e2f4c
683 B
text/plain
libpurple: do not update purple settings with empty values
0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 0a78acefef91 | /*
* Implements XEP-0334: Message Processing Hints
* Licensed under the Simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#pragma once
#include <vector>
#include <string>
#include <boost/shared_ptr.hpp>
#include <Swiften/Elements/Payload.h>
#include "Swiften/SwiftenCompat.h"
namespace Swift {
class HintPayload : public Payload {
public:
typedef SWIFTEN_SHRPTR_NAMESPACE::shared_ptr<HintPayload> ref;
enum Type { NoPermanentStore, NoStore, NoCopy, Store };
public:
HintPayload(Type type = NoCopy);
void setType(Type type) { type_ = type; }
const Type getType() { return type_; }
private:
Type type_;
};
}
|