1 /*
2  * %kadu copyright begin%
3  * Copyright 2011 Rafał Przemysław Malinowski (rafal.przemyslaw.malinowski@gmail.com)
4  * %kadu copyright end%
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License as
8  * published by the Free Software Foundation; either version 2 of
9  * the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef STATUS_TYPE_GROUP_H
21 #define STATUS_TYPE_GROUP_H
22 
23 /**
24  * @addtogroup Status
25  * @{
26  */
27 
28 /**
29  * @enum StatusTypeGroup
30  * @author Rafał 'Vogel' Malinowski
31  * @short Status type grouping enum.
32  * @see StatusType
33  *
34  * This enum allows grouping of status types.
35  */
36 enum class StatusTypeGroup
37 {
38 	/**
39 	 * Empty (invalid) status type group.
40 	 */
41 	None = -1,
42 	/**
43 	 * Online status type group. Contains "Online" and "Free for chat" status types.
44 	 */
45 	Online = 0,
46 	/**
47 	 * Away status type group. Contains "Away", "Not available" and "Do not disturb" status types.
48 	 */
49 	Away = 10,
50 	/**
51 	 * Invisible status type group. Contains "Invisible" status type.
52 	 */
53 	Invisible = 20,
54 	/**
55 	 * Offline status type group. Contains "Offline" status type.
56 	 */
57 	Offline = 30
58 };
59 
60 /**
61  * @addtogroup Status
62  * @}
63  */
64 
65 #endif // STATUS_TYPE_GROUP_H
66