diff options
Diffstat (limited to 'libsn/sn-launcher.h')
-rw-r--r-- | libsn/sn-launcher.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libsn/sn-launcher.h b/libsn/sn-launcher.h index c58d09e..f88f11c 100644 --- a/libsn/sn-launcher.h +++ b/libsn/sn-launcher.h @@ -44,7 +44,7 @@ void sn_launcher_context_initiate (SnLauncherContext *context, const char *launchee_name, Time timestamp); void sn_launcher_context_complete (SnLauncherContext *context); -const char* sn_launcher_context_get_launch_id (SnLauncherContext *context); +const char* sn_launcher_context_get_startup_id (SnLauncherContext *context); sn_bool_t sn_launcher_context_get_initiated (SnLauncherContext *context); void sn_launcher_context_setup_child_process (SnLauncherContext *context); @@ -66,6 +66,15 @@ void sn_launcher_context_set_extra_property (SnLauncherContext *context, const char *name, const char *value); + +void sn_launcher_context_get_initiated_time (SnLauncherContext *context, + long *tv_sec, + long *tv_usec); +void sn_launcher_context_get_last_active_time (SnLauncherContext *context, + long *tv_sec, + long *tv_usec); + + SN_END_DECLS #endif /* __SN_LAUNCHER_H__ */ |