From: Guillaume Zajac Date: Tue, 11 Dec 2012 10:30:37 +0000 (+0100) Subject: at_ps: Add template core object to server X-Git-Tag: 2.1b_release~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8c09a68998dfd4d8dc3fececf01c24ba20a7b93;p=framework%2Ftelephony%2Ftel-plugin-at_standard.git at_ps: Add template core object to server Change-Id: I8f3e0b80ab073c4022a9929edae0a1a603527a42 --- diff --git a/src/at_ps.c b/src/at_ps.c index 6d4c24c..88e2d74 100644 --- a/src/at_ps.c +++ b/src/at_ps.c @@ -445,6 +445,7 @@ static struct tcore_ps_operations ps_ops = { gboolean at_ps_init(TcorePlugin *p) { CoreObject *co_ps; + Server *server; co_ps = tcore_ps_new(p, "umts_ps", &ps_ops, NULL); if (NULL == co_ps) @@ -452,6 +453,9 @@ gboolean at_ps_init(TcorePlugin *p) tcore_object_add_callback(co_ps, "+CGEV", on_cgev_notification, NULL); + server = tcore_plugin_ref_server(p); + tcore_server_add_template_object(server, co_ps); + return TRUE; }