Extract aul dependency from service_main.cpp
[platform/core/uifw/multi-assistant-service.git] / inc / application_manager_aul.h
1 /*
2  * Copyright 2018-2019 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
18 #ifndef __APPLICATION_MANAGER_AUL_H__
19 #define __APPLICATION_MANAGER_AUL_H__
20
21 #include "application_manager.h"
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 class CApplicationManagerAul : public IApplicationManager {
28 public:
29         virtual bool is_application_running(int pid) override;
30         virtual bool is_application_running(const std::string& appid) override;
31         virtual bool bring_app_to_foreground(const std::string& appid) override;
32         virtual bool launch_app_async(const std::string& appid, bool background) override;
33         virtual boost::optional<std::string> get_appid_by_pid(int pid) override;
34 };
35
36 #ifdef __cplusplus
37 }
38 #endif
39
40 #endif /* __APPLICATION_MANAGER_AUL_H__ */