summaryrefslogtreecommitdiffstats
blob: a00165707c24b271c6bfd2a0c7f58aa2d39f7c66 (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
25
26
27
#ifndef SWIFTEN_StatusShow_H
#define SWIFTEN_StatusShow_H

#include "Swiften/Elements/Payload.h"

namespace Swift {
	class StatusShow : public Payload {
		public:
			enum Type { Online, Away, FFC, XA, DND, None };

			StatusShow(const Type& type = Online) : type_(type) {
			}

			void setType(const Type& type) {
				type_ = type;
			}

			const Type& getType() const {
				return type_;
			}

		private:
			Type type_;
	};
}

#endif