Remove useless macros in configure.ac regarding libmm-log
[platform/core/multimedia/libmm-session.git] / mm_session_private.h
index 3fd9555..bde9374 100644 (file)
@@ -37,6 +37,10 @@ extern "C" {
 #include <mm_session.h>
 #include <stdbool.h>
 
+/* This private definition is for marking that this process is using the stream info. created by sound-manager.
+ * It'll be maintained for backward compatibility regarding session feature that is deprecated since tizen 3.0. */
+#define MM_SESSION_TYPE_REPLACED_BY_STREAM    1111
+
 typedef enum {
        MM_SUBSESSION_TYPE_VOICE = 0,
        MM_SUBSESSION_TYPE_RINGTONE,
@@ -84,8 +88,8 @@ int _mm_session_util_delete_information(int app_pid);
  * @return     This function returns MM_ERROR_NONE on success, or negative value
  *                     with error code.
  * @remark     This function is only for internal implementation do not use this at application
- *                     Session type is unique for each application.
- *                     if application want to change session type, Finish session first and Init again
+ *                     Session type is unique for each application.
+ *                     if application want to change session type, Finish session first and Init again
  * @see                _mm_session_util_delete_information _mm_session_util_read_type
  * @since
  */
@@ -101,7 +105,7 @@ int _mm_session_util_write_type(int app_pid, int sessiontype);
  * @return     This function returns MM_ERROR_NONE on success, or negative value
  *                     with error code.
  * @remark     Session type is unique for each application.
- *                     if application want to change session type, Finish session first and Init again
+ *                     if application want to change session type, Finish session first and Init again
  * @see                _mm_session_util_write_type _mm_session_util_delete_information
  * @since
  */
@@ -118,7 +122,7 @@ int _mm_session_util_read_type(int app_pid, int *sessiontype);
  * @return     This function returns MM_ERROR_NONE on success, or negative value
  *                     with error code.
  * @remark     This function is only for internal implementation do not use this at application
- *                     Session type and Session option are unique for each application.
+ *                     Session type and Session option are unique for each application.
  * @see                _mm_session_util_delete_information _mm_session_util_read_information
  * @since
  */
@@ -139,64 +143,6 @@ int _mm_session_util_write_information(int app_pid, int session_type, int flags)
  */
 int _mm_session_util_read_information(int app_pid, int *session_type, int *flags);
 
-
-/**
- * This function set sub-session type
- *
- * @param      subsession [in] subsession type
- * @param      option  [in] option of subsession type
- *
- * @return     This function returns MM_ERROR_NONE on success, or negative value
- *                     with error code.
- * @remark     This function is only for internal implementation do not use this at application
- *                     Session type is unique for each application.
- * @see                mm_session_get_subsession
- * @since
- */
-int mm_session_set_subsession (mm_subsession_t subsession, mm_subsession_option_t option);
-
-/**
- * This function get current sub-session type
- *
- * @param      subsession [out] subsession type
- *
- * @return     This function returns MM_ERROR_NONE on success, or negative value
- *                     with error code.
- * @remark     This function is only for internal implementation do not use this at application
- *                     Session type is unique for each application.
- * @see                mm_session_set_subsession
- * @since
- */
-int mm_session_get_subsession (mm_subsession_t *subsession);
-
-/**
- * This function set sub-event type
- *
- * @param      subevent [in] subevent type
- *
- * @return     This function returns MM_ERROR_NONE on success, or negative value
- *                     with error code.
- * @remark     This function is only for internal implementation do not use this at application
- *                     Session type is unique for each application.
- * @see                mm_session_get_subevent
- * @since
- */
-int mm_session_set_subevent (mm_session_sub_t subevent);
-
-/**
- * This function get current sub-event type
- *
- * @param      subevent [out] subevent type
- *
- * @return     This function returns MM_ERROR_NONE on success, or negative value
- *                     with error code.
- * @remark     This function is only for internal implementation do not use this at application
- *                     Session type is unique for each application.
- * @see                mm_session_set_subsevnt
- * @since
- */
-int mm_session_get_subevent (mm_session_sub_t *subevent);
-
 #ifdef __cplusplus
 }
 #endif