#include "mm_camcorder_configure.h"
#include "mm_camcorder_sound.h"
+#ifdef _MMCAMCORDER_RM_SUPPORT
+/* rm (resource manager)*/
+#include <rm_api.h>
+#endif /* _MMCAMCORDER_RM_SUPPORT */
+
#ifdef __cplusplus
extern "C" {
#endif
#endif /* _MMCAMCORDER_ENABLE_IDLE_MESSAGE_CALLBACK */
camera_conf *conf_main; /**< Camera configure Main structure */
camera_conf *conf_ctrl; /**< Camera configure Control structure */
+#ifdef _MMCAMCORDER_RM_SUPPORT
+ int rm_handle; /**< Resource manager handle */
+#endif /* _MMCAMCORDER_RM_SUPPORT */
guint pipeline_cb_event_id; /**< Event source ID of pipeline message callback */
guint encode_pipeline_cb_event_id; /**< Event source ID of encode pipeline message callback */
guint setting_event_id; /**< Event source ID of attributes setting to sensor */
dpm_restriction_policy_h dpm_policy; /**< DPM restriction policy handle */
int dpm_camera_cb_id; /**< DPM camera policy changed callback id */
+#ifdef _MMCAMCORDER_RM_SUPPORT
+ rm_category_request_s request_resources;
+ rm_device_return_s returned_devices;
+#endif /* _MMCAMCORDER_RM_SUPPORT */
int reserved[4]; /**< reserved */
} mmf_camcorder_t;