Commit ce17a21f30ddcec54d81d01105dfa74a19bc2dd4
1 parent
bd58c3ad
Exists in
master
and in
5 other branches
Removendo includes desnecessarios na versao 5
Showing
9 changed files
with
10 additions
and
103 deletions
Show diff stats
src/lib3270/actions.c
@@ -54,7 +54,6 @@ | @@ -54,7 +54,6 @@ | ||
54 | #endif /*]*/ | 54 | #endif /*]*/ |
55 | #if defined(X3270_DISPLAY) /*[*/ | 55 | #if defined(X3270_DISPLAY) /*[*/ |
56 | #include "keypadc.h" | 56 | #include "keypadc.h" |
57 | -// #include "menubarc.h" | ||
58 | #endif /*]*/ | 57 | #endif /*]*/ |
59 | #if defined(X3270_DISPLAY) || defined(C3270) || defined(WC3270) /*[*/ | 58 | #if defined(X3270_DISPLAY) || defined(C3270) || defined(WC3270) /*[*/ |
60 | #include "screenc.h" | 59 | #include "screenc.h" |
src/lib3270/glue.c
@@ -63,7 +63,6 @@ | @@ -63,7 +63,6 @@ | ||
63 | // #include "keymapc.h" | 63 | // #include "keymapc.h" |
64 | #include "kybdc.h" | 64 | #include "kybdc.h" |
65 | //#include "macrosc.h" | 65 | //#include "macrosc.h" |
66 | -// #include "menubarc.h" | ||
67 | #include "popupsc.h" | 66 | #include "popupsc.h" |
68 | #include "screenc.h" | 67 | #include "screenc.h" |
69 | // #include "selectc.h" | 68 | // #include "selectc.h" |
src/lib3270/hostc.h
@@ -17,25 +17,11 @@ | @@ -17,25 +17,11 @@ | ||
17 | * Global declarations for host.c. | 17 | * Global declarations for host.c. |
18 | */ | 18 | */ |
19 | 19 | ||
20 | -#include "api.h" | ||
21 | - | ||
22 | -/* | ||
23 | - struct host { | ||
24 | - char *name; | ||
25 | - char **parents; | ||
26 | - char *hostname; | ||
27 | - enum { PRIMARY, ALIAS, RECENT } entry_type; | ||
28 | - char *loginstring; | ||
29 | - time_t connect_time; | ||
30 | - struct host *prev, *next; | ||
31 | - }; | ||
32 | - extern struct host *hosts; | ||
33 | -*/ | 20 | + #include "api.h" |
34 | 21 | ||
35 | #define st_changed(tx,mode) lib3270_st_changed(NULL,tx,mode) | 22 | #define st_changed(tx,mode) lib3270_st_changed(NULL,tx,mode) |
36 | 23 | ||
37 | LIB3270_INTERNAL void lib3270_st_changed(H3270 *h, int tx, int mode); | 24 | LIB3270_INTERNAL void lib3270_st_changed(H3270 *h, int tx, int mode); |
38 | -// LIB3270_INTERNAL void hostfile_init(void); | ||
39 | LIB3270_INTERNAL void host_connected(H3270 *session); | 25 | LIB3270_INTERNAL void host_connected(H3270 *session); |
40 | LIB3270_INTERNAL void host_disconnected(H3270 *session); | 26 | LIB3270_INTERNAL void host_disconnected(H3270 *session); |
41 | LIB3270_INTERNAL void host_in3270(H3270 *session, LIB3270_CSTATE); | 27 | LIB3270_INTERNAL void host_in3270(H3270 *session, LIB3270_CSTATE); |
src/lib3270/lib3270.cbp
@@ -7,8 +7,8 @@ | @@ -7,8 +7,8 @@ | ||
7 | <Option compiler="gcc" /> | 7 | <Option compiler="gcc" /> |
8 | <Build> | 8 | <Build> |
9 | <Target title="Debug"> | 9 | <Target title="Debug"> |
10 | - <Option output=".bin/Debug/lib3270" prefix_auto="1" extension_auto="1" /> | ||
11 | - <Option object_output=".obj/Debug/" /> | 10 | + <Option output=".bin\Debug\lib3270" prefix_auto="1" extension_auto="1" /> |
11 | + <Option object_output=".obj\Debug\" /> | ||
12 | <Option type="3" /> | 12 | <Option type="3" /> |
13 | <Option compiler="gcc" /> | 13 | <Option compiler="gcc" /> |
14 | <Option createDefFile="1" /> | 14 | <Option createDefFile="1" /> |
@@ -19,8 +19,8 @@ | @@ -19,8 +19,8 @@ | ||
19 | </Compiler> | 19 | </Compiler> |
20 | </Target> | 20 | </Target> |
21 | <Target title="Release"> | 21 | <Target title="Release"> |
22 | - <Option output=".bin/Release/lib3270" prefix_auto="1" extension_auto="1" /> | ||
23 | - <Option object_output=".obj/Release/" /> | 22 | + <Option output=".bin\Release\lib3270" prefix_auto="1" extension_auto="1" /> |
23 | + <Option object_output=".obj\Release\" /> | ||
24 | <Option type="3" /> | 24 | <Option type="3" /> |
25 | <Option compiler="gcc" /> | 25 | <Option compiler="gcc" /> |
26 | <Option createDefFile="1" /> | 26 | <Option createDefFile="1" /> |
@@ -33,8 +33,8 @@ | @@ -33,8 +33,8 @@ | ||
33 | </Linker> | 33 | </Linker> |
34 | </Target> | 34 | </Target> |
35 | <Target title="testprogram"> | 35 | <Target title="testprogram"> |
36 | - <Option output=".bin/Debug/lib3270" prefix_auto="1" extension_auto="1" /> | ||
37 | - <Option object_output=".obj/testprogram/" /> | 36 | + <Option output=".bin\Debug\lib3270" prefix_auto="1" extension_auto="1" /> |
37 | + <Option object_output=".obj\testprogram\" /> | ||
38 | <Option type="1" /> | 38 | <Option type="1" /> |
39 | <Option compiler="gcc" /> | 39 | <Option compiler="gcc" /> |
40 | <Option use_console_runner="0" /> | 40 | <Option use_console_runner="0" /> |
@@ -51,10 +51,10 @@ | @@ -51,10 +51,10 @@ | ||
51 | <Add option="-Wmissing-declarations" /> | 51 | <Add option="-Wmissing-declarations" /> |
52 | <Add option="-Wall" /> | 52 | <Add option="-Wall" /> |
53 | <Add option="-DLIB3270=1" /> | 53 | <Add option="-DLIB3270=1" /> |
54 | - <Add directory="../include" /> | ||
55 | - <Add directory="../include/lib3270" /> | 54 | + <Add directory="..\include" /> |
55 | + <Add directory="..\include\lib3270" /> | ||
56 | </Compiler> | 56 | </Compiler> |
57 | - <Unit filename="../include/lib3270/config.h.in" /> | 57 | + <Unit filename="..\include\lib3270\config.h.in" /> |
58 | <Unit filename="Makefile.in" /> | 58 | <Unit filename="Makefile.in" /> |
59 | <Unit filename="X11keysym.h" /> | 59 | <Unit filename="X11keysym.h" /> |
60 | <Unit filename="XtGlue.c"> | 60 | <Unit filename="XtGlue.c"> |
@@ -125,7 +125,6 @@ | @@ -125,7 +125,6 @@ | ||
125 | <Unit filename="macros.c"> | 125 | <Unit filename="macros.c"> |
126 | <Option compilerVar="CC" /> | 126 | <Option compilerVar="CC" /> |
127 | </Unit> | 127 | </Unit> |
128 | - <Unit filename="menubarc.h" /> | ||
129 | <Unit filename="mkversion.sh.in" /> | 128 | <Unit filename="mkversion.sh.in" /> |
130 | <Unit filename="objects.h" /> | 129 | <Unit filename="objects.h" /> |
131 | <Unit filename="paste.c"> | 130 | <Unit filename="paste.c"> |
@@ -166,8 +165,6 @@ | @@ -166,8 +165,6 @@ | ||
166 | <Option compilerVar="CC" /> | 165 | <Option compilerVar="CC" /> |
167 | </Unit> | 166 | </Unit> |
168 | <Unit filename="seec.h" /> | 167 | <Unit filename="seec.h" /> |
169 | - <Unit filename="selectc.h" /> | ||
170 | - <Unit filename="session.h" /> | ||
171 | <Unit filename="sf.c"> | 168 | <Unit filename="sf.c"> |
172 | <Option compilerVar="CC" /> | 169 | <Option compilerVar="CC" /> |
173 | </Unit> | 170 | </Unit> |
src/lib3270/menubarc.h
@@ -1,49 +0,0 @@ | @@ -1,49 +0,0 @@ | ||
1 | -/* | ||
2 | - * Copyright 1995, 1999, 2000, 2001, 2002, 2003, 2005 by Paul Mattes. | ||
3 | - * Permission to use, copy, modify, and distribute this software and its | ||
4 | - * documentation for any purpose and without fee is hereby granted, | ||
5 | - * provided that the above copyright notice appear in all copies and that | ||
6 | - * both that copyright notice and this permission notice appear in | ||
7 | - * supporting documentation. | ||
8 | - * | ||
9 | - * x3270, c3270, s3270 and tcl3270 are distributed in the hope that they will | ||
10 | - * be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the file LICENSE | ||
12 | - * for more details. | ||
13 | - */ | ||
14 | - | ||
15 | -/* | ||
16 | - * menubarc.h | ||
17 | - * Global declarations for menubar.c. | ||
18 | - */ | ||
19 | - | ||
20 | -#warning menubarc.h is deprecated | ||
21 | - | ||
22 | -/* | ||
23 | -#if defined(X3270_MENUS) | ||
24 | - | ||
25 | -// LIB3270_INTERNAL void HandleMenu_action(Widget w, XEvent *event, String *params,Cardinal *num_params); | ||
26 | -// #if defined(X3270_SCRIPT) | ||
27 | -// LIB3270_INTERNAL void menubar_as_set(Boolean sensitive); | ||
28 | -// #else | ||
29 | -// #define menubar_as_set(n) | ||
30 | -// #endif | ||
31 | - | ||
32 | -// LIB3270_INTERNAL void menubar_init(Widget container, Dimension overall_width,Dimension current_width); | ||
33 | -// LIB3270_INTERNAL void menubar_keypad_changed(void); | ||
34 | -// LIB3270_INTERNAL Dimension menubar_qheight(Dimension container_width); | ||
35 | -// LIB3270_INTERNAL void menubar_resize(Dimension width); | ||
36 | -// LIB3270_INTERNAL void menubar_retoggle(struct toggle *t); | ||
37 | - | ||
38 | -#else | ||
39 | - | ||
40 | -// #define menubar_as_set(n) | ||
41 | -// #define menubar_init(a, b, c) | ||
42 | -// #define menubar_keypad_changed() | ||
43 | -// #define menubar_qheight(n) 0 | ||
44 | -// #define menubar_resize(n) | ||
45 | -// #define menubar_retoggle(t) | ||
46 | -// #define HandleMenu_action ignore_action | ||
47 | - | ||
48 | -#endif | ||
49 | -*/ |
src/lib3270/printer.c
@@ -59,7 +59,6 @@ | @@ -59,7 +59,6 @@ | ||
59 | #include "charsetc.h" | 59 | #include "charsetc.h" |
60 | #include "ctlrc.h" | 60 | #include "ctlrc.h" |
61 | #include "hostc.h" | 61 | #include "hostc.h" |
62 | -// #include "menubarc.h" | ||
63 | #include "popupsc.h" | 62 | #include "popupsc.h" |
64 | #include "printerc.h" | 63 | #include "printerc.h" |
65 | #include "printc.h" | 64 | #include "printc.h" |
src/lib3270/selectc.h
@@ -1,22 +0,0 @@ | @@ -1,22 +0,0 @@ | ||
1 | -/* | ||
2 | - * Copyright 1999, 2001 by Paul Mattes. | ||
3 | - * Permission to use, copy, modify, and distribute this software and its | ||
4 | - * documentation for any purpose and without fee is hereby granted, | ||
5 | - * provided that the above copyright notice appear in all copies and that | ||
6 | - * both that copyright notice and this permission notice appear in | ||
7 | - * supporting documentation. | ||
8 | - * | ||
9 | - * c3270, s3270 and tcl3270 are distributed in the hope that they will | ||
10 | - * be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the file LICENSE | ||
12 | - * for more details. | ||
13 | - */ | ||
14 | - | ||
15 | -/* Non-display version of selectc.h */ | ||
16 | - | ||
17 | -// #define unselect(baddr, len) | ||
18 | -// #define area_is_selected(baddr, len) False | ||
19 | - | ||
20 | -#error delete.me - Selection isnt used on library version | ||
21 | - | ||
22 | - |
src/lib3270/toggles.c
@@ -44,7 +44,6 @@ | @@ -44,7 +44,6 @@ | ||
44 | #include "ansic.h" | 44 | #include "ansic.h" |
45 | #include "actionsc.h" | 45 | #include "actionsc.h" |
46 | #include "ctlrc.h" | 46 | #include "ctlrc.h" |
47 | -// #include "menubarc.h" | ||
48 | #include "popupsc.h" | 47 | #include "popupsc.h" |
49 | #include "screenc.h" | 48 | #include "screenc.h" |
50 | #include "trace_dsc.h" | 49 | #include "trace_dsc.h" |
src/lib3270/trace_ds.c
@@ -61,7 +61,6 @@ | @@ -61,7 +61,6 @@ | ||
61 | #include "charsetc.h" | 61 | #include "charsetc.h" |
62 | #include "childc.h" | 62 | #include "childc.h" |
63 | #include "ctlrc.h" | 63 | #include "ctlrc.h" |
64 | -// #include "menubarc.h" | ||
65 | #include "popupsc.h" | 64 | #include "popupsc.h" |
66 | #include "printc.h" | 65 | #include "printc.h" |
67 | #include "savec.h" | 66 | #include "savec.h" |