Add wakeup policy support in dependency module
[platform/core/uifw/multi-assistant-service.git] / plugins / wakeup-manager / inc / wakeup_policy_external.h
1 /*
2  * Copyright 2018  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.1 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://floralicense.org/license/
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef _WAKEUP_POLICY_EXTERNAL_H_
18 #define _WAKEUP_POLICY_EXTERNAL_H_
19
20 #include "wakeup_policy.h"
21
22 namespace multiassistant
23 {
24 namespace wakeup
25 {
26
27 using namespace std;
28
29 class CWakeupPolicyExternal : public CWakeupPolicy
30 {
31 public:
32         CWakeupPolicyExternal(IPolicyEventObserver *observer);
33         ~CWakeupPolicyExternal();
34
35         bool valid() override;
36
37         void wakeup_candidate(mas_wakeup_event_info wakeup_info) override;
38         void select_candidate(mas_wakeup_event_info wakeup_info) override;
39 };
40
41 } // wakeup
42 } // multiassistant
43
44 #endif /* _WAKEUP_POLICY_EXTERNAL_H_ */