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
src/lib3270/glue.c
src/lib3270/hostc.h
| ... | ... | @@ -17,25 +17,11 @@ |
| 17 | 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 | 22 | #define st_changed(tx,mode) lib3270_st_changed(NULL,tx,mode) |
| 36 | 23 | |
| 37 | 24 | LIB3270_INTERNAL void lib3270_st_changed(H3270 *h, int tx, int mode); |
| 38 | -// LIB3270_INTERNAL void hostfile_init(void); | |
| 39 | 25 | LIB3270_INTERNAL void host_connected(H3270 *session); |
| 40 | 26 | LIB3270_INTERNAL void host_disconnected(H3270 *session); |
| 41 | 27 | LIB3270_INTERNAL void host_in3270(H3270 *session, LIB3270_CSTATE); | ... | ... |
src/lib3270/lib3270.cbp
| ... | ... | @@ -7,8 +7,8 @@ |
| 7 | 7 | <Option compiler="gcc" /> |
| 8 | 8 | <Build> |
| 9 | 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 | 12 | <Option type="3" /> |
| 13 | 13 | <Option compiler="gcc" /> |
| 14 | 14 | <Option createDefFile="1" /> |
| ... | ... | @@ -19,8 +19,8 @@ |
| 19 | 19 | </Compiler> |
| 20 | 20 | </Target> |
| 21 | 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 | 24 | <Option type="3" /> |
| 25 | 25 | <Option compiler="gcc" /> |
| 26 | 26 | <Option createDefFile="1" /> |
| ... | ... | @@ -33,8 +33,8 @@ |
| 33 | 33 | </Linker> |
| 34 | 34 | </Target> |
| 35 | 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 | 38 | <Option type="1" /> |
| 39 | 39 | <Option compiler="gcc" /> |
| 40 | 40 | <Option use_console_runner="0" /> |
| ... | ... | @@ -51,10 +51,10 @@ |
| 51 | 51 | <Add option="-Wmissing-declarations" /> |
| 52 | 52 | <Add option="-Wall" /> |
| 53 | 53 | <Add option="-DLIB3270=1" /> |
| 54 | - <Add directory="../include" /> | |
| 55 | - <Add directory="../include/lib3270" /> | |
| 54 | + <Add directory="..\include" /> | |
| 55 | + <Add directory="..\include\lib3270" /> | |
| 56 | 56 | </Compiler> |
| 57 | - <Unit filename="../include/lib3270/config.h.in" /> | |
| 57 | + <Unit filename="..\include\lib3270\config.h.in" /> | |
| 58 | 58 | <Unit filename="Makefile.in" /> |
| 59 | 59 | <Unit filename="X11keysym.h" /> |
| 60 | 60 | <Unit filename="XtGlue.c"> |
| ... | ... | @@ -125,7 +125,6 @@ |
| 125 | 125 | <Unit filename="macros.c"> |
| 126 | 126 | <Option compilerVar="CC" /> |
| 127 | 127 | </Unit> |
| 128 | - <Unit filename="menubarc.h" /> | |
| 129 | 128 | <Unit filename="mkversion.sh.in" /> |
| 130 | 129 | <Unit filename="objects.h" /> |
| 131 | 130 | <Unit filename="paste.c"> |
| ... | ... | @@ -166,8 +165,6 @@ |
| 166 | 165 | <Option compilerVar="CC" /> |
| 167 | 166 | </Unit> |
| 168 | 167 | <Unit filename="seec.h" /> |
| 169 | - <Unit filename="selectc.h" /> | |
| 170 | - <Unit filename="session.h" /> | |
| 171 | 168 | <Unit filename="sf.c"> |
| 172 | 169 | <Option compilerVar="CC" /> |
| 173 | 170 | </Unit> | ... | ... |
src/lib3270/menubarc.h
| ... | ... | @@ -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
src/lib3270/selectc.h
| ... | ... | @@ -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