From: hyunho kang Date: Fri, 10 Jul 2015 00:24:13 +0000 (+0900) Subject: [message_port] Fix tutorial. X-Git-Tag: tizen_3.0/TD_SYNC/20161201~723 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3339e4d438edd41772ccb8339783df04061e7cc6;p=sdk%2Fonline-doc.git [message_port] Fix tutorial. Change-Id: Iac3f6cd23e0da480a6bc935b1cccddbfe431922d Signed-off-by: hyunho kang --- diff --git a/org.tizen.tutorials/html/native/app_framework/message_port_tutorial_n.htm b/org.tizen.tutorials/html/native/app_framework/message_port_tutorial_n.htm index 8ae56a4..d0e7682 100644 --- a/org.tizen.tutorials/html/native/app_framework/message_port_tutorial_n.htm +++ b/org.tizen.tutorials/html/native/app_framework/message_port_tutorial_n.htm @@ -105,7 +105,7 @@ int message_port_register_local_port(const char* local_port, message_port_messag

Implement the following codes in Application 2. Implement the message_port_cb() callback function for the message_port_register_local_port() function.

-void message_port_cb(int local_port_id, const char *remote_app_id, bundle *message)
+void message_port_cb(int local_port_id, const char *remote_app_id, const char *remote_port, bool trusted_remote_port, bundle *message, void *user_data)
 {
    char *command = NULL;
    char *data = NULL;
@@ -215,7 +215,7 @@ void send_message(void)
   
   
 
-void message_port_cb(int local_port_id, const char *remote_app_id, const char *remote_port, bool trusted_remote_port, bundle *message)
+void message_port_cb(int local_port_id, const char *remote_app_id, const char *remote_port, bool trusted_remote_port, bundle *message, void *user_data)
 {
 
    int ret;
@@ -244,7 +244,7 @@ void message_port_cb(int local_port_id, const char *remote_app_id, const char *r
 	

Register the local port in Application 1.

-void message_port_cb(int local_port_id, const char *remote_app_id, const char *remote_port, bool trusted_remote_port, bundle *message) 
+void message_port_cb(int local_port_id, const char *remote_app_id, const char *remote_port, bool trusted_remote_port, bundle *message, void *user_data)
 {
    char *result = NULL;
    bundle_get_str(message, "result", &result);