2 * Copyright 2012 Samsung Electronics Co., Ltd
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
8 * http://www.tizenopensource.org/license
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.
18 #ifndef __DEF_cam_rec_H_
19 #define __DEF_cam_rec_H_
21 /* #include <applog.h> */
22 #include <Elementary.h>
23 /* #include <Imlib2.h> */
26 #include <glib-object.h>
27 /*#include <mmf/mm_camcorder.h>*/
29 #include "cam_property.h"
30 #define TMPFILE_PATH "/tmp/"
31 #define TMPFILE_PREFIX "/.camera_recording_tmp"
32 #define TMPFILE_EXTENTION ".3gp"
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);