2009-01-18 20:37:32 +00:00
|
|
|
/*
|
|
|
|
* OpenVPN-GUI -- A Windows GUI for OpenVPN.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2009 Heiko Hund <heikoh@users.sf.net>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program (see the file COPYING included with this
|
|
|
|
* distribution); if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LOCALIZATION_H
|
|
|
|
#define LOCALIZATION_H
|
|
|
|
|
2012-11-06 13:54:53 +00:00
|
|
|
int LocalizedTime(const time_t, LPTSTR, size_t);
|
2022-06-26 19:37:11 +00:00
|
|
|
wchar_t *LocalizedFileTime(const FILETIME *ft);
|
2009-01-18 20:37:32 +00:00
|
|
|
PTSTR LoadLocalizedString(const UINT, ...);
|
|
|
|
int LoadLocalizedStringBuf(PTSTR, const int, const UINT, ...);
|
2010-03-21 09:07:14 +00:00
|
|
|
void ShowLocalizedMsg(const UINT, ...);
|
2021-06-30 09:59:42 +00:00
|
|
|
int ShowLocalizedMsgEx(const UINT, HANDLE, LPCTSTR, const UINT, ...);
|
2020-01-26 23:21:17 +00:00
|
|
|
HICON LoadLocalizedIconEx(const UINT, int cx, int cy);
|
2009-01-18 20:37:32 +00:00
|
|
|
HICON LoadLocalizedIcon(const UINT);
|
2016-12-06 18:34:06 +00:00
|
|
|
HICON LoadLocalizedSmallIcon(const UINT);
|
2009-01-26 21:03:39 +00:00
|
|
|
LPCDLGTEMPLATE LocalizedDialogResource(const UINT);
|
2009-01-18 20:37:32 +00:00
|
|
|
INT_PTR LocalizedDialogBoxParam(const UINT, DLGPROC, const LPARAM);
|
2009-02-05 13:52:27 +00:00
|
|
|
HWND CreateLocalizedDialogParam(const UINT, DLGPROC, const LPARAM);
|
2009-01-18 20:37:32 +00:00
|
|
|
HWND CreateLocalizedDialog(const UINT, DLGPROC);
|
2016-05-22 18:04:57 +00:00
|
|
|
INT_PTR CALLBACK GeneralSettingsDlgProc(HWND, UINT, WPARAM, LPARAM);
|
2017-01-30 01:19:44 +00:00
|
|
|
LANGID GetGUILanguage(void);
|
2009-01-18 20:37:32 +00:00
|
|
|
|
|
|
|
#endif
|