1 /* w32help.h - W32 speicif functions
2 * Copyright (C) 2007 Free Software Foundation, Inc.
4 * This file is part of JNLIB.
6 * JNLIB is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License as
8 * published by the Free Software Foundation; either version 3 of
9 * the License, or (at your option) any later version.
11 * JNLIB is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this program; if not, see <http://www.gnu.org/licenses/>.
20 #ifndef LIBJNLIB_W32HELP_H
21 #define LIBJNLIB_W32HELP_H
22 #ifdef HAVE_W32_SYSTEM
25 char *read_w32_registry_string (const char *root
,
26 const char *dir
, const char *name
);
27 int write_w32_registry_string (const char *root
, const char *dir
,
28 const char *name
, const char *value
);
30 #ifdef USE_SIMPLE_GETTEXT
31 char *bindtextdomain (const char *domainname
, const char *dirname
);
32 const char *gettext (const char *msgid
);
33 const char *ngettext (const char *msgid1
, const char *msgid2
,
35 const char *gettext_localename (void);
36 void gettext_select_utf8 (int value
);
37 #endif /*USE_SIMPLE_GETTEXT*/
40 #endif /*HAVE_W32_SYSTEM*/
41 #endif /*LIBJNLIB_MISCHELP_H*/