summaryrefslogtreecommitdiff
path: root/libsn/sn-monitor.h
diff options
context:
space:
mode:
authorMark McLoughlin <mark@skynet.ie>2004-06-24 08:32:38 +0000
committerMark McLoughlin <mark@skynet.ie>2004-06-24 08:32:38 +0000
commit5c4f61420dd0fd02484b2f5144bab32314f16534 (patch)
tree62d57203c07371ad4039ca131c4d23c3d8f918a9 /libsn/sn-monitor.h
parent24120023bc2cf7282639ec532029bc83634c1cd2 (diff)
downloadstartup-notification-5c4f61420dd0fd02484b2f5144bab32314f16534.tar.gz
Make a timestamp be part of the startup sequence (and not just part of the
startup_id for the startup sequence). Add timestamp field to the SnLauncherContext struct, (sn_launcher_context_new): initialize timestamp to 0, (sn_launcher_context_initiate): Make timestamp part of the startup sequence message, Add timestamp field to the SnStartupSequence struct, (sn_startup_sequence_get_timestamp): new function, (sn_startup_sequence_new): set timestamp from startup sequence message, if found, new function, new function (main): Make the test-launcher example provide a valid timestamp, obtained from new slowly_obtain_timestamp function
Diffstat (limited to 'libsn/sn-monitor.h')
-rw-r--r--libsn/sn-monitor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsn/sn-monitor.h b/libsn/sn-monitor.h
index 3f0cb74..15a38d7 100644
--- a/libsn/sn-monitor.h
+++ b/libsn/sn-monitor.h
@@ -69,6 +69,7 @@ sn_bool_t sn_startup_sequence_get_completed (SnStartupSequence *se
const char* sn_startup_sequence_get_name (SnStartupSequence *sequence);
const char* sn_startup_sequence_get_description (SnStartupSequence *sequence);
int sn_startup_sequence_get_workspace (SnStartupSequence *sequence);
+Time sn_startup_sequence_get_timestamp (SnStartupSequence *sequence);
const char* sn_startup_sequence_get_wmclass (SnStartupSequence *sequence);
const char* sn_startup_sequence_get_binary_name (SnStartupSequence *sequence);
const char* sn_startup_sequence_get_icon_name (SnStartupSequence *sequence);