Updating INI configuration file to work with most cameras.
[profile/ivi/camera.git] / include / cam_rec.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.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.tizenopensource.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 __DEF_cam_rec_H_
19 #define __DEF_cam_rec_H_
20
21 /* #include <applog.h> */
22 #include <Elementary.h>
23 /* #include <Imlib2.h> */
24 #include <utilX.h>
25 #include <glib.h>
26 #include <glib-object.h>
27 /*#include <mmf/mm_camcorder.h>*/
28
29 #include "cam_property.h"
30 #define TMPFILE_PATH "/tmp/"
31 #define TMPFILE_PREFIX "/.camera_recording_tmp"
32 #define TMPFILE_EXTENTION ".3gp"
33
34 /* Idler of capture callback management. wh01.cho@samsung.com. 2010-12-15. */
35 Eina_Bool cam_video_capture_handle_idler(void *item);
36 Eina_Bool cam_video_capture_handle(void *data);
37 gboolean cam_video_record_cancel(void *data);
38 gboolean cam_video_record_resume(void *data);
39 gboolean cam_video_record_pause(void *data);
40 gboolean cam_video_record_start(void *data);
41 gboolean cam_video_record_stop(void *data);
42 Eina_Bool cam_video_idler_record_stop(void *data);
43
44 #endif