4 * Pidgin is the legal property of its developers, whose names are too numerous
5 * to list here. Please refer to the COPYRIGHT file distributed with this
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
28 /* suppress gcc "no previous prototype" warning */
29 int __cdecl
pidgin_main(HINSTANCE hint
, int argc
, char *argv
[]);
30 int __cdecl
pidgin_main(HINSTANCE hint
, int argc
, char *argv
[])
32 int main(int argc
, char *argv
[])
35 const gchar
*test_prgname
;
38 SetConsoleOutputCP(65001); /* UTF-8 */
41 /* This is for UI testing purposes only, don't use it! */
42 test_prgname
= g_getenv("PIDGIN_TEST_PRGNAME");
43 g_set_prgname(test_prgname
? test_prgname
: "Pidgin");
44 g_set_application_name(PIDGIN_NAME
);
47 winpidgin_set_exe_hinstance(hint
);
50 return pidgin_start(argc
, argv
);