Release version 0.5.14
[platform/core/appfw/librua.git] / src / rua_context_internal.h
1 /*
2  * Copyright (c) 2019 Samsung Electronics Co., Ltd. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (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://www.apache.org/licenses/LICENSE-2.0
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 __RUA_CONTEXT_INTERNAL_H__
18 #define __RUA_CONTEXT_INTERNAL_H__
19
20 #include <rua_types.h>
21 #include <rua_context.h>
22 #include <rua_info.h>
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 int rua_context_create_from_rua_info(rua_info_h info,
29                 rua_context_h *context);
30
31 int rua_context_is_running(rua_context_h context, bool *running);
32
33 int rua_context_resume(rua_context_h context);
34
35 int rua_context_terminate(rua_context_h context);
36
37 #ifdef __cplusplus
38 }
39 #endif
40
41 #endif /*__RUA_CONTEXT_INTERNAL_H__*/