There are Two modifications.
[platform/upstream/iotivity.git] / service / notification-manager / NotificationManager / include / HostingConfig.h
1
2 #ifndef HOSTINGCONFIG_H_
3 #define HOSTINGCONFIG_H_
4
5 #include "NotificationManager.h"
6
7
8 enum class HostingMode
9 {
10         None,
11         ManualMode,
12         AutomaticMode,
13 };
14
15 enum class AutomaticMethod
16 {
17         None,
18         NetworkStatusChange,
19         Timer,
20         DeviceStatus
21 };
22
23 enum class NotifyMethod
24 {
25         Frequence,
26         Equalization,
27         Granularity,
28         None
29 };
30
31 enum class NotifyFrequency
32 {
33         OnTime,
34         Periodically,
35         None
36 };
37
38
39 struct HostingConfig
40 {
41         HostingMode             hostingMode;
42         AutomaticMethod automaticMethod;
43         NotifyMethod            notifyMethod;
44         NotifyFrequency frequency;
45 };
46
47 #endif /* HOSTINGCONFIG_H_ */