Commit 6c4a1a7e3ee39be74801627a40725c31e2dc220a
1 parent
942c7002
Exists in
master
and in
1 other branch
Building 3270 widget as an independent library.
Showing
9 changed files
with
80 additions
and
8 deletions
Show diff stats
src/dialogs/hostselect.c
... | ... | @@ -27,9 +27,8 @@ |
27 | 27 | * |
28 | 28 | */ |
29 | 29 | |
30 | - #include "hostselect.h" | |
31 | - #include <lib3270/log.h> | |
32 | - #include <v3270.h> | |
30 | + #include "private.h" | |
31 | + #include <hostselect.h> | |
33 | 32 | |
34 | 33 | /*--[ Widget definition ]----------------------------------------------------------------------------*/ |
35 | 34 | ... | ... |
... | ... | @@ -0,0 +1,39 @@ |
1 | +/* | |
2 | + * "Software pw3270, desenvolvido com base nos códigos fontes do WC3270 e X3270 | |
3 | + * (Paul Mattes Paul.Mattes@usa.net), de emulação de terminal 3270 para acesso a | |
4 | + * aplicativos mainframe. Registro no INPI sob o nome G3270. | |
5 | + * | |
6 | + * Copyright (C) <2008> <Banco do Brasil S.A.> | |
7 | + * | |
8 | + * Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob | |
9 | + * os termos da GPL v.2 - Licença Pública Geral GNU, conforme publicado pela | |
10 | + * Free Software Foundation. | |
11 | + * | |
12 | + * Este programa é distribuído na expectativa de ser útil, mas SEM QUALQUER | |
13 | + * GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO | |
14 | + * A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para | |
15 | + * obter mais detalhes. | |
16 | + * | |
17 | + * Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este | |
18 | + * programa; se não, escreva para a Free Software Foundation, Inc., 51 Franklin | |
19 | + * St, Fifth Floor, Boston, MA 02110-1301 USA | |
20 | + * | |
21 | + * Este programa está nomeado como private.h e possui - linhas de código. | |
22 | + * | |
23 | + * Contatos: | |
24 | + * | |
25 | + * perry.werneck@gmail.com (Alexandre Perry de Souza Werneck) | |
26 | + * erico.mendonca@gmail.com (Erico Mascarenhas Mendonça) | |
27 | + * | |
28 | + */ | |
29 | + | |
30 | +#include <config.h> | |
31 | + | |
32 | +#define ENABLE_NLS | |
33 | +#define GETTEXT_PACKAGE PACKAGE_NAME | |
34 | + | |
35 | +#include <libintl.h> | |
36 | +#include <glib/gi18n.h> | |
37 | + | |
38 | +#include <gtk/gtk.h> | |
39 | +#include <v3270.h> | ... | ... |
src/v3270/charset.c
src/v3270/iocallback.c
... | ... | @@ -29,6 +29,15 @@ |
29 | 29 | * |
30 | 30 | */ |
31 | 31 | |
32 | + #include <config.h> | |
33 | + | |
34 | + #define ENABLE_NLS | |
35 | + #define GETTEXT_PACKAGE PACKAGE_NAME | |
36 | + | |
37 | + #include <gtk/gtk.h> | |
38 | + #include <libintl.h> | |
39 | + #include <glib/gi18n.h> | |
40 | + | |
32 | 41 | #if defined(_WIN32) /*[*/ |
33 | 42 | #include <windows.h> |
34 | 43 | #elif defined(__APPLE__) | ... | ... |
src/v3270/oia.c
... | ... | @@ -27,17 +27,25 @@ |
27 | 27 | * |
28 | 28 | */ |
29 | 29 | |
30 | -#ifdef WIN32 | |
30 | + #include <config.h> | |
31 | + | |
32 | + #define ENABLE_NLS | |
33 | + #define GETTEXT_PACKAGE PACKAGE_NAME | |
34 | + | |
35 | + #include <gtk/gtk.h> | |
36 | + #include <libintl.h> | |
37 | + #include <glib/gi18n.h> | |
38 | + | |
39 | + #ifdef WIN32 | |
31 | 40 | #include <winsock2.h> |
32 | 41 | #include <windows.h> |
33 | 42 | #include <ws2tcpip.h> |
34 | -#endif // WIN32 | |
43 | + #endif // WIN32 | |
35 | 44 | |
36 | 45 | #include <lib3270.h> |
37 | 46 | #include <lib3270/session.h> |
38 | 47 | #include <lib3270/log.h> |
39 | 48 | #include <config.h> |
40 | - #include <gtk/gtk.h> | |
41 | 49 | #include <string.h> |
42 | 50 | #include <errno.h> |
43 | 51 | #include <ctype.h> | ... | ... |
src/v3270/security.c
... | ... | @@ -27,7 +27,15 @@ |
27 | 27 | * |
28 | 28 | */ |
29 | 29 | |
30 | + #include <config.h> | |
31 | + | |
32 | + #define ENABLE_NLS | |
33 | + #define GETTEXT_PACKAGE PACKAGE_NAME | |
34 | + | |
30 | 35 | #include <gtk/gtk.h> |
36 | + #include <libintl.h> | |
37 | + #include <glib/gi18n.h> | |
38 | + | |
31 | 39 | #include "private.h" |
32 | 40 | |
33 | 41 | #if defined(HAVE_LIBSSL) | ... | ... |
src/v3270/widget.c
... | ... | @@ -27,13 +27,21 @@ |
27 | 27 | * |
28 | 28 | */ |
29 | 29 | |
30 | + #include <config.h> | |
31 | + | |
32 | + #define ENABLE_NLS | |
33 | + #define GETTEXT_PACKAGE PACKAGE_NAME | |
34 | + | |
35 | + #include <gtk/gtk.h> | |
36 | + #include <libintl.h> | |
37 | + #include <glib/gi18n.h> | |
38 | + | |
30 | 39 | #ifdef WIN32 |
31 | 40 | #include <winsock2.h> |
32 | 41 | #include <windows.h> |
33 | 42 | #include <ws2tcpip.h> |
34 | 43 | #endif // WIN32 |
35 | 44 | |
36 | - #include <gtk/gtk.h> | |
37 | 45 | #include <lib3270.h> |
38 | 46 | #include <lib3270/session.h> |
39 | 47 | #include <lib3270/actions.h> | ... | ... |
src/v3270ft/load.c