Remove security-server dependency
[apps/core/preloaded/lockscreen.git] / include / camera.h
1 /*
2  * Copyright (c) 2009-2014 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 __CAMERA_H__
18 #define __CAMERA_H__
19
20 #define APP_NAME_CAMERA "org.tizen.camera-app"
21
22 typedef enum {
23         CAMERA_VIEW_DRAGGING_START = 1,
24         CAMERA_VIEW_DRAGGING_STOP = 2,
25         CAMERA_VIEW_ROTATE = 3,
26         CAMERA_VIEW_MAX,
27 } camera_view_type_e;
28
29 Evas_Object *lock_camera_layout_get(void);
30
31 lock_error_e lock_camera_above_win_state_send(Eina_Bool state);
32 void lock_camera_app_launch(void);
33 lock_error_e lock_camera_view_action(camera_view_type_e action, int angle);
34 Evas_Object *lock_camera_layout_create(Evas_Object *parent);
35 void lock_camera_layout_destroy(void);
36
37 #endif