libfreerdp-locale: move time zone detection code
This commit is contained in:
parent
ed93d939f0
commit
2152db9eb4
29
include/freerdp/locale/timezone.h
Normal file
29
include/freerdp/locale/timezone.h
Normal file
@ -0,0 +1,29 @@
|
||||
/**
|
||||
* FreeRDP: A Remote Desktop Protocol Implementation
|
||||
* Time Zone Redirection
|
||||
*
|
||||
* Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef __LOCALE_TIMEZONE_H
|
||||
#define __LOCALE_TIMEZONE_H
|
||||
|
||||
#include <freerdp/api.h>
|
||||
#include <freerdp/types.h>
|
||||
#include <freerdp/settings.h>
|
||||
|
||||
FREERDP_API void freerdp_time_zone_detect(TIME_ZONE_INFO* clientTimeZone);
|
||||
|
||||
#endif /* __LOCALE_TIMEZONE_H */
|
File diff suppressed because it is too large
Load Diff
@ -24,6 +24,7 @@
|
||||
|
||||
#include <freerdp/freerdp.h>
|
||||
#include <freerdp/utils/stream.h>
|
||||
#include <freerdp/locale/timezone.h>
|
||||
|
||||
void rdp_read_system_time(STREAM* s, SYSTEM_TIME* system_time);
|
||||
void rdp_write_system_time(STREAM* s, SYSTEM_TIME* system_time);
|
||||
|
@ -21,6 +21,7 @@ set(FREERDP_LOCALE_SRCS
|
||||
keyboard_layout.c
|
||||
keyboard.c
|
||||
locale.c
|
||||
timezone.c
|
||||
liblocale.h)
|
||||
|
||||
set(FREERDP_LOCALE_X11_SRCS
|
||||
|
1701
libfreerdp-locale/timezone.c
Normal file
1701
libfreerdp-locale/timezone.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user