vfs: check userland buffers before reading them.
[haiku.git] / src / preferences / time / TimeMessages.h
blob73206cf44092dda321e8a1104ee7592ed9d53b52
1 /*
2 * Copyright 2002-2010, Haiku. All rights reserved.
3 * Distributed under the terms of the MIT License.
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>
11 #ifndef _TIME_MESSAGES_H
12 #define _TIME_MESSAGES_H
15 // Timezone messages
16 const uint32 H_CITY_CHANGED = 'h_CC';
17 const uint32 H_CITY_SET = 'h_CS';
19 // SetButton
20 const uint32 H_SET_TIME_ZONE = 'hSTZ';
22 // local and GMT settings
23 const uint32 RTC_SETTINGS = 'RTse';
25 // clock tick message
26 const uint32 H_TIME_UPDATE ='obTU';
28 // notice for clock ticks
29 const uint32 H_TM_CHANGED = 'obTC';
31 // notice for user changes
32 const uint32 H_USER_CHANGE = 'obUC';
34 // local/ gmt radiobuttons
35 const uint32 kRTCUpdate = '_rtc';
37 // sunday/ monday radio button
38 const uint32 kWeekStart = '_kws';
40 // clicked on day in calendar
41 const uint32 kDayChanged = '_kdc';
43 // clicked on revert button
44 const uint32 kMsgRevert = 'rvrt';
46 // something was changed
47 const uint32 kMsgChange = 'chng';
49 // change time finished
50 const uint32 kChangeTimeFinished = 'tcfi';
52 // show or hide Deskbar clock
53 const uint32 kShowHideTime = 'ShTm';
55 // show seconds
56 const uint32 kShowSeconds = 'SwSc';
58 // show day of week
59 const uint32 kShowDayOfWeek = 'SwDw';
61 // show time zone
62 const uint32 kShowTimeZone = 'SwTz';
64 // get clock settings from Deskbar
65 const uint32 kGetClockSettings = 'GCkS';
67 // bring the clock tab to front
68 const uint32 kSelectClockTab = 'SlCk';
70 #endif // _TIME_MESSAGES_H