mirror of
https://review.haiku-os.org/haiku
synced 2025-01-22 14:24:48 +01:00
85b54438f7
a specific file (/boot/common/settings/libroot_timezone_info) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37934 a95241bf-73f2-0310-859d-f6bbb57e9c96
31 lines
590 B
C++
31 lines
590 B
C++
/*
|
|
* Copyright 2010, Oliver Tappe, zooey@hirschkaefer.de.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _LOCALTIME_H
|
|
#define _LOCALTIME_H
|
|
|
|
|
|
#include <SupportDefs.h>
|
|
|
|
|
|
namespace BPrivate {
|
|
|
|
|
|
static const char* skPosixTimeZoneInfoFile = "libroot_timezone_info";
|
|
static const int skTimeZoneInfoNameMax = 32;
|
|
|
|
// holds persistent info set by Time preflet
|
|
struct time_zone_info {
|
|
char short_std_name[skTimeZoneInfoNameMax];
|
|
char short_dst_name[skTimeZoneInfoNameMax];
|
|
uint32 offset_from_gmt;
|
|
bool uses_daylight_saving;
|
|
};
|
|
|
|
|
|
} // namespace BPrivate
|
|
|
|
|
|
#endif // _LOCALTIME_H
|