Merge commit '60e1df9' into tizen
[platform/core/uifw/multi-assistant-service.git] / inc / application_manager_aul.h
1 /*
2  * Copyright 2020 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         CApplicationManagerAul();
30         ~CApplicationManagerAul();
31
32         virtual bool is_application_running(int pid) override;
33         virtual bool is_application_running(const std::string& appid) override;
34         virtual bool bring_app_to_foreground(const std::string& appid) override;
35         virtual bool launch_app_async(const std::string& appid, bool background) override;
36         virtual boost::optional<std::string> get_appid_by_pid(int pid) override;
37 };
38
39 #ifdef __cplusplus
40 }
41 #endif
42
43 #endif /* __APPLICATION_MANAGER_AUL_H__ */