xref: /haiku/src/preferences/time/TimeMessages.h (revision 25a7b01d15612846f332751841da3579db313082)
1a10cf76eSAxel Dörfler /*
26d6408d6SOliver Tappe  * Copyright 2002-2010, Haiku. All rights reserved.
342b3a11fSStephan Aßmus  * Distributed under the terms of the MIT License.
442b3a11fSStephan Aßmus  *
542b3a11fSStephan Aßmus  * Authors:
642b3a11fSStephan Aßmus  *		Andrew McCall, mccall@digitalparadise.co.uk
700826781SKarsten Heimrich  *		Mike Berg <mike@berg-net.us>
842b3a11fSStephan Aßmus  *		Julun <host.haiku@gmx.de>
91cae077aSStephan Aßmus  *		Philippe Saint-Pierre <stpere@gmail.com>
10a10cf76eSAxel Dörfler  */
116d6408d6SOliver Tappe #ifndef _TIME_MESSAGES_H
126d6408d6SOliver Tappe #define _TIME_MESSAGES_H
136d6408d6SOliver Tappe 
14a10cf76eSAxel Dörfler 
15a10cf76eSAxel Dörfler // Timezone messages
16a10cf76eSAxel Dörfler const uint32 H_CITY_CHANGED = 'h_CC';
17a10cf76eSAxel Dörfler const uint32 H_CITY_SET = 'h_CS';
18a10cf76eSAxel Dörfler 
19a10cf76eSAxel Dörfler // SetButton
20a10cf76eSAxel Dörfler const uint32 H_SET_TIME_ZONE = 'hSTZ';
21a10cf76eSAxel Dörfler 
22a10cf76eSAxel Dörfler // local and GMT settings
23a10cf76eSAxel Dörfler const uint32 RTC_SETTINGS = 'RTse';
24a10cf76eSAxel Dörfler 
25a10cf76eSAxel Dörfler // clock tick message
26a10cf76eSAxel Dörfler const uint32 H_TIME_UPDATE ='obTU';
27a10cf76eSAxel Dörfler 
28a10cf76eSAxel Dörfler // notice for clock ticks
29a10cf76eSAxel Dörfler const uint32 H_TM_CHANGED = 'obTC';
30a10cf76eSAxel Dörfler 
31a10cf76eSAxel Dörfler // notice for user changes
32a10cf76eSAxel Dörfler const uint32 H_USER_CHANGE = 'obUC';
33a10cf76eSAxel Dörfler 
34a10cf76eSAxel Dörfler // local/ gmt radiobuttons
353ad1de3bSKarsten Heimrich const uint32 kRTCUpdate = '_rtc';
36a10cf76eSAxel Dörfler 
3742b3a11fSStephan Aßmus // sunday/ monday radio button
3842b3a11fSStephan Aßmus const uint32 kWeekStart = '_kws';
3942b3a11fSStephan Aßmus 
4000826781SKarsten Heimrich // clicked on day in calendar
4100826781SKarsten Heimrich const uint32 kDayChanged = '_kdc';
4200826781SKarsten Heimrich 
431cae077aSStephan Aßmus // clicked on revert button
441cae077aSStephan Aßmus const uint32 kMsgRevert = 'rvrt';
451cae077aSStephan Aßmus 
46323ba9b7SRyan Leavengood // something was changed
47323ba9b7SRyan Leavengood const uint32 kMsgChange = 'chng';
48323ba9b7SRyan Leavengood 
493e58fe9eSStephan Aßmus // change time finished
503e58fe9eSStephan Aßmus const uint32 kChangeTimeFinished = 'tcfi';
513e58fe9eSStephan Aßmus 
52*31c0024dSJohn Scipione // show or hide Deskbar clock
53*31c0024dSJohn Scipione const uint32 kShowHideTime = 'ShTm';
54*31c0024dSJohn Scipione 
55*31c0024dSJohn Scipione // show seconds
56*31c0024dSJohn Scipione const uint32 kShowSeconds = 'SwSc';
57*31c0024dSJohn Scipione 
58*31c0024dSJohn Scipione // show day of week
59*31c0024dSJohn Scipione const uint32 kShowDayOfWeek = 'SwDw';
60*31c0024dSJohn Scipione 
61*31c0024dSJohn Scipione // show time zone
62*31c0024dSJohn Scipione const uint32 kShowTimeZone = 'SwTz';
63*31c0024dSJohn Scipione 
64*31c0024dSJohn Scipione // get clock settings from Deskbar
65*31c0024dSJohn Scipione const uint32 kGetClockSettings = 'GCkS';
66*31c0024dSJohn Scipione 
67*31c0024dSJohn Scipione // bring the clock tab to front
68*31c0024dSJohn Scipione const uint32 kSelectClockTab = 'SlCk';
69*31c0024dSJohn Scipione 
706d6408d6SOliver Tappe #endif	// _TIME_MESSAGES_H
7153d9356eSStephan Aßmus 
72