1 /* 2 * Copyright 2002-2010, Haiku. All rights reserved. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Andrew McCall, mccall@digitalparadise.co.uk 7 * Mike Berg <mike@berg-net.us> 8 * Julun <host.haiku@gmx.de> 9 * Philippe Saint-Pierre <stpere@gmail.com> 10 */ 11 #ifndef _TIME_MESSAGES_H 12 #define _TIME_MESSAGES_H 13 14 15 // Timezone messages 16 const uint32 H_CITY_CHANGED = 'h_CC'; 17 const uint32 H_CITY_SET = 'h_CS'; 18 19 // SetButton 20 const uint32 H_SET_TIME_ZONE = 'hSTZ'; 21 22 // local and GMT settings 23 const uint32 RTC_SETTINGS = 'RTse'; 24 25 // clock tick message 26 const uint32 H_TIME_UPDATE ='obTU'; 27 28 // notice for clock ticks 29 const uint32 H_TM_CHANGED = 'obTC'; 30 31 // notice for user changes 32 const uint32 H_USER_CHANGE = 'obUC'; 33 34 // local/ gmt radiobuttons 35 const uint32 kRTCUpdate = '_rtc'; 36 37 // sunday/ monday radio button 38 const uint32 kWeekStart = '_kws'; 39 40 // clicked on day in calendar 41 const uint32 kDayChanged = '_kdc'; 42 43 // clicked on revert button 44 const uint32 kMsgRevert = 'rvrt'; 45 46 // something was changed 47 const uint32 kMsgChange = 'chng'; 48 49 // change time finished 50 const uint32 kChangeTimeFinished = 'tcfi'; 51 52 // show or hide Deskbar clock 53 const uint32 kShowHideTime = 'ShTm'; 54 55 // show seconds 56 const uint32 kShowSeconds = 'SwSc'; 57 58 // show day of week 59 const uint32 kShowDayOfWeek = 'SwDw'; 60 61 // show time zone 62 const uint32 kShowTimeZone = 'SwTz'; 63 64 // get clock settings from Deskbar 65 const uint32 kGetClockSettings = 'GCkS'; 66 67 // bring the clock tab to front 68 const uint32 kSelectClockTab = 'SlCk'; 69 70 #endif // _TIME_MESSAGES_H 71 72