sync with private git
authoryoungsub ko <ys4610.ko@samsung.com>
Tue, 9 Apr 2013 11:29:11 +0000 (20:29 +0900)
committeryoungsub ko <ys4610.ko@samsung.com>
Tue, 9 Apr 2013 11:29:11 +0000 (20:29 +0900)
include/minicontrol-monitor.h
include/minicontrol-provider.h
include/minicontrol-viewer.h
packaging/minicontrol.spec
src/minicontrol-provider.c

index 496bbb1..74d19ee 100755 (executable)
 #include <minicontrol-error.h>
 #include <minicontrol-type.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @defgroup MINICONTROL_MONITOR_LIBRARY minicontrol monitor library
  * @brief This minicontrol monitor library used to manage events triggered by minicontrol provider
@@ -75,5 +79,8 @@ minicontrol_error_e minicontrol_monitor_start(minicontrol_monitor_cb callback,
  */
 minicontrol_error_e minicontrol_monitor_stop(void);
 
+#ifdef __cplusplus
+}
+#endif
 #endif /* _MINICTRL_MONITOR_H_ */
 
index 8a543a1..2aa8865 100755 (executable)
 #include "minicontrol-error.h"
 #include "minicontrol-type.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @defgroup MINICONTROL_PROVIDER_LIBRARY minicontrol provider library
  * @brief This minicontrol provider library used to create evas socket window
@@ -46,5 +50,8 @@ Evas_Object *minicontrol_win_add(const char *name);
  */
 minicontrol_error_e minicontrol_request(Evas_Object *mincontrol, minicontrol_request_e request);
 
+#ifdef __cplusplus
+}
+#endif
 #endif /* _MINICTRL_PROVIDER_H_ */
 
index ebbd945..2898b03 100755 (executable)
 
 #include <Evas.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @defgroup MINICONTROL_VIEWER_LIBRARY minicontrol provider library
  * @brief This minicontrol viewer library used to display minicontrol which created by minicontrol provider
@@ -44,5 +48,8 @@ Evas_Object *minicontrol_viewer_add(Evas_Object *parent, const char *svr_name);
  */
 Evas_Object *minicontrol_viewer_image_object_get(const Evas_Object *obj);
 
+#ifdef __cplusplus
+}
+#endif
 #endif /* _MINICTRL_VIEWER_H_ */
 
index 0656596..3f30bdb 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       minicontrol
 Summary:    minicontrol library
-Version:    0.0.3
+Version:    0.0.6
 Release:    1
 Group:      TBD
 License:    Flora
index cc4e034..662a310 100755 (executable)
@@ -266,6 +266,7 @@ EXPORT_API Evas_Object *minicontrol_win_add(const char *name)
        if (!elm_win_socket_listen(win, name_inter, 0, EINA_FALSE)) {
                ERR("Fail to elm win socket listen");
                evas_object_del(win);
+               free(name_inter);
                return NULL;
        }