6e30c4b8af
private accessor classes * adjust style in BTimeZone::Private implementation to match other classes of this kind git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38449 a95241bf-73f2-0310-859d-f6bbb57e9c96
38 lines
529 B
C++
38 lines
529 B
C++
/*
|
|
* Copyright 2010, Oliver Tappe <zooey@hirschkaefer.de>
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _TIME_ZONE_PRIVATE_H
|
|
#define _TIME_ZONE_PRIVATE_H
|
|
|
|
|
|
#include <TimeZone.h>
|
|
|
|
|
|
class BTimeZone::Private {
|
|
public:
|
|
Private(const BTimeZone* timeZone = NULL)
|
|
:
|
|
fTimeZone(timeZone)
|
|
{
|
|
}
|
|
|
|
void
|
|
SetTo(const BTimeZone* timeZone)
|
|
{
|
|
fTimeZone = timeZone;
|
|
}
|
|
|
|
icu_44::TimeZone*
|
|
IcuTimeZone()
|
|
{
|
|
return fTimeZone->fIcuTimeZone;
|
|
}
|
|
|
|
private:
|
|
const BTimeZone* fTimeZone;
|
|
};
|
|
|
|
|
|
#endif // _TIME_ZONE_PRIVATE_H
|