diff options
author | Nandan SR <nandan.sr@samsung.com> | 2013-09-16 15:03:53 +0530 |
---|---|---|
committer | Nandan SR <nandan.sr@samsung.com> | 2013-09-16 15:03:53 +0530 |
commit | 17b2aa1f9323d5cb0aef501a014c75b25d52b81c (patch) | |
tree | ed963e4797a1c38133b0ea64c099a48f7704baf6 | |
parent | 7b7e356b5af4f33909b10ac8d19fadfc10bee977 (diff) | |
download | libslp-lbs-plugin-replay-17b2aa1f9323d5cb0aef501a014c75b25d52b81c.tar.gz libslp-lbs-plugin-replay-17b2aa1f9323d5cb0aef501a014c75b25d52b81c.tar.bz2 libslp-lbs-plugin-replay-17b2aa1f9323d5cb0aef501a014c75b25d52b81c.zip |
Changing the spec file to add license changes and addition of commentssubmit/tizen_2.2/20131107.0610282.2.1_releasetizen_2.2
Signed-off-by: Nandan SR <nandan.sr@samsung.com>
-rw-r--r-- | packaging/libslp-lbs-plugin-replay.spec | 4 | ||||
-rw-r--r-- | replay-plugin/src/gps_plugin_replay.c | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/packaging/libslp-lbs-plugin-replay.spec b/packaging/libslp-lbs-plugin-replay.spec index c8ec68b..6296502 100644 --- a/packaging/libslp-lbs-plugin-replay.spec +++ b/packaging/libslp-lbs-plugin-replay.spec @@ -28,6 +28,9 @@ make %{?jobs:-j%jobs} %install rm -rf %{buildroot} +mkdir -p %{buildroot}/usr/share/license +cp %{_builddir}/%{name}-%{version}/LICENSE %{buildroot}/usr/share/license/%{name} + %make_install mkdir -p %{buildroot}%{DATADIR}/replay @@ -39,6 +42,7 @@ ln -sf /usr/lib/libSLP-lbs-plugin-replay.so /usr/lib/libSLP-lbs-plugin.so %files %manifest libslp-lbs-plugin-replay.manifest +/usr/share/license/%{name} %defattr(-,root,root,-) %{_libdir}/libSLP-lbs-plugin-replay.so %{_libdir}/libSLP-lbs-plugin-replay.so.* diff --git a/replay-plugin/src/gps_plugin_replay.c b/replay-plugin/src/gps_plugin_replay.c index 343fa6f..cc508a5 100644 --- a/replay-plugin/src/gps_plugin_replay.c +++ b/replay-plugin/src/gps_plugin_replay.c @@ -56,6 +56,12 @@ int gps_plugin_replay_gps_init(gps_event_cb gps_event_cb, gps_server_param_t * g int gps_plugin_replay_gps_deinit(gps_failure_reason_t * reason_code); int gps_plugin_replay_gps_request(gps_action_t gps_action, void *data, gps_failure_reason_t * reason_code); +/* +This is the interface that will be given to the gps-manager to call the API's of this plug-in module. +Init is called immediately after loading the plugin. +Deinit is called during the shut-down. +Request is called with specific parameter for the required operations. +*/ static const gps_plugin_interface g_gps_plugin_replay_interface = { gps_plugin_replay_gps_init, gps_plugin_replay_gps_deinit, |