|
GnuCash 2.4.99
|
00001 /* 00002 * gnc-date-p.h 00003 * 00004 * Copyright (C) 2007 Andreas Koehler <andi5.py@gmx.net> 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License as 00008 * published by the Free Software Foundation; either version 2 of 00009 * the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, contact: 00018 * 00019 * Free Software Foundation Voice: +1-617-542-5942 00020 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 00021 * Boston, MA 02110-1301, USA gnu@gnu.org 00022 */ 00023 00024 #ifndef __GNC_DATE_P_H__ 00025 #define __GNC_DATE_P_H__ 00026 00027 #include "gnc-date.h" 00028 00036 gchar *qof_time_format_from_utf8(const gchar *utf8_format); 00037 00044 gchar *qof_formatted_time_to_utf8(const gchar *locale_string); 00045 00046 00047 #ifdef G_OS_WIN32 00048 00049 typedef enum 00050 { 00051 QOF_WIN32_PICTURE_DATE, 00052 QOF_WIN32_PICTURE_TIME, 00053 QOF_WIN32_PICTURE_DATETIME 00054 } QofWin32Picture; 00055 00064 const char *qof_win32_get_time_format(QofWin32Picture picture); 00065 00066 #endif /* G_OS_WIN32 */ 00067 00068 #endif /* __GNC_DATE_P_H__ */
1.7.4