Change API name more accurately. 42/168642/3 accepted/tizen/unified/20180205.060527 submit/tizen/20180202.080634
authorHyunsoo Park <hance.park@samsung.com>
Tue, 30 Jan 2018 04:49:06 +0000 (13:49 +0900)
committerHyunsoo Park <hance.park@samsung.com>
Tue, 30 Jan 2018 05:38:12 +0000 (14:38 +0900)
'mm_wfd_sink_get_state' api returns 'current' state of screen mirroring.
So i change name of this api to 'mm_wfd_sink_get_current_state'.

Change-Id: Ibd7bce33c90945cc8a60b75cbd651539f8c22871
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
packaging/libmm-wfd.spec
src/include/mm_wfd_sink.h
src/mm_wfd_sink.c

index b103e7037e369687ce957fe896f73921bd690a0c..9867b89d38f85d9a02129ac5ab7cdd2d8f407441 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-wfd
 Summary:    Multimedia Framework Wifi-Display Library
-Version:    0.2.235
+Version:    0.2.236
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index 09e2d649888e20fcf2b17f00f10c48504745d64f..0026e002ab7fb8db079b63f1d732fac1dc94f580 100644 (file)
@@ -471,7 +471,7 @@ int mm_wfd_sink_get_negotiated_audio_sample_rate(MMHandleType wfd_sink_handle,
 int mm_wfd_sink_get_negotiated_audio_bitwidth(MMHandleType wfd_sink_handle,  gint *bitwidth);
 
 /**
- * This function gets the state for wi-fi display sink\n
+ * This function gets the current state for wi-fi display sink\n
  *
  * @param      wfd_sink_handle         [in]    Handle of wi-fi display sink
  * @param      state           [out]   Current state of wi-fi display sink
@@ -479,6 +479,6 @@ int mm_wfd_sink_get_negotiated_audio_bitwidth(MMHandleType wfd_sink_handle,  gin
  * @return     This function returns zero on success, or negative value with error code.
  *
  */
-int mm_wfd_sink_get_state(MMHandleType wfd_sink_handle, gint *state);
+int mm_wfd_sink_get_current_state(MMHandleType wfd_sink_handle, gint *state);
 
 #endif
index 00eaf5e4e27e41f8073ecd42eafc1f03380b35d8..00884536dfe553c45c49a7b0109db46cc1673ac1 100644 (file)
@@ -491,7 +491,7 @@ int mm_wfd_sink_get_negotiated_audio_bitwidth(MMHandleType wfd_sink_handle,  gin
        return result;
 }
 
-int mm_wfd_sink_get_state(MMHandleType wfd_sink_handle, gint *state)
+int mm_wfd_sink_get_current_state(MMHandleType wfd_sink_handle, gint *state)
 {
        mm_wfd_sink_t *wfd_sink = (mm_wfd_sink_t *)wfd_sink_handle;
        int result = MM_ERROR_NONE;