Commit f37abd59d24ab868989db1a247909d4f4a9e2bac
1 parent
d8395248
Exists in
master
and in
5 other branches
Iniciando reimplementacao do plugin rexx
Showing
8 changed files
with
373 additions
and
171 deletions
Show diff stats
Makefile.in
| ... | ... | @@ -307,6 +307,7 @@ clean: |
| 307 | 307 | @make -C src/pw3270 clean |
| 308 | 308 | @make -C src/tools clean |
| 309 | 309 | @make -C src/plugins/remotectl clean |
| 310 | + @make -C src/plugins/rx3270 clean | |
| 310 | 311 | @rm -f $(PACKAGE_NAME).png |
| 311 | 312 | @rm -f $(PACKAGE_NAME)-logo.png |
| 312 | 313 | @rm -f *.log |
| ... | ... | @@ -339,3 +340,9 @@ $(BINDIR)/Debug/plugins/remotectl@DLLEXT@: src/plugins/remotectl/* $(BINDIR)/Deb |
| 339 | 340 | $(BINDIR)/Release/plugins/remotectl@DLLEXT@: src/plugins/remotectl/* $(BINDIR)/Release/$(PACKAGE_TARNAME)$(EXEEXT) |
| 340 | 341 | @make BINDIR="../../../$(BINDIR)" PW3270_LIBS="-L../../../$(BINDIR)/Release@DLLDIR@ -l3270 -lpw3270" PW3270_CFLAGS="-I../../../src/include" -C $(dir $<) Release |
| 341 | 342 | |
| 343 | +$(BINDIR)/Debug/plugins/rx3270@DLLEXT@: src/plugins/rx3270/* $(BINDIR)/Debug/$(PACKAGE_TARNAME)$(EXEEXT) | |
| 344 | + @make BINDIR="../../../$(BINDIR)" LIB3270_MODE=Debug -C $(dir $<) Debug | |
| 345 | + | |
| 346 | +$(BINDIR)/Release/plugins/rx3270@DLLEXT@: src/plugins/rx3270/* $(BINDIR)/Release/$(PACKAGE_TARNAME)$(EXEEXT) | |
| 347 | + @make BINDIR="../../../$(BINDIR)" LIB3270_MODE=Release -C $(dir $<) Release | |
| 348 | + | ... | ... |
configure.ac
| ... | ... | @@ -59,11 +59,7 @@ AC_PROG_INSTALL |
| 59 | 59 | AC_PROG_MKDIR_P |
| 60 | 60 | AC_PROG_LN_S |
| 61 | 61 | |
| 62 | -AC_PATH_TOOL([REXXC], [rexxc], [cp]) | |
| 63 | -AC_SUBST(REXXC) | |
| 64 | - | |
| 65 | 62 | AC_PATH_TOOL([VALGRIND], [valgrind], [no]) |
| 66 | -AC_PATH_TOOL([REXXCONFIG], [oorexx-config], [no]) | |
| 67 | 63 | |
| 68 | 64 | AC_PATH_TOOL([MAKENSIS], [makensis], [no]) |
| 69 | 65 | AC_PATH_TOOL([WINDRES], [windres], [no]) |
| ... | ... | @@ -256,7 +252,7 @@ fi |
| 256 | 252 | |
| 257 | 253 | #--[ Check For Java ]----------------------------------------------------------------------------------------------------------------------------------------- |
| 258 | 254 | |
| 259 | -AC_ARG_ENABLE([java],[AS_HELP_STRING([--disable-java], [Disable java extension & plugin])],[ app_cv_java="$enableval" ],[ app_cv_java="yes" ]) | |
| 255 | +AC_ARG_ENABLE([java],[AS_HELP_STRING([--disable-java], [Disable java integration])],[ app_cv_java="$enableval" ],[ app_cv_java="yes" ]) | |
| 260 | 256 | |
| 261 | 257 | # Check for JDK_HOME |
| 262 | 258 | if test "_$JDK_HOME" = "_" ; then |
| ... | ... | @@ -347,6 +343,19 @@ fi |
| 347 | 343 | |
| 348 | 344 | AC_SUBST(PHPCONFIG) |
| 349 | 345 | |
| 346 | +AC_ARG_WITH([rexxconfig], [AS_HELP_STRING([--with-rexx-config], [Path to oorexx-config tool])], [ REXXCONFIG="$withval" ],[ AC_PATH_TOOL(REXXCONFIG, oorexx-config, , $PATH) ]) | |
| 347 | + | |
| 348 | +if test -z "${REXXCONFIG}"; then | |
| 349 | + AC_MSG_NOTICE([Program oorexx-config not found. Use --with-rexx-config=path to specify absolute path to the oorexx-config tool.]) | |
| 350 | +else | |
| 351 | + AC_DEFINE(HAVE_REXX) | |
| 352 | + AC_PATH_TOOL([REXXC], [rexxc], [cp], `$REXXCONFIG --prefix`/bin ) | |
| 353 | + PLUGINS="$PLUGINS rx3270" | |
| 354 | +fi | |
| 355 | + | |
| 356 | +AC_SUBST(REXXC) | |
| 357 | +AC_SUBST(REXXCONFIG) | |
| 358 | + | |
| 350 | 359 | #--[ Pre-reqs ]----------------------------------------------------------------------------------------------------------------------------------------------- |
| 351 | 360 | AC_SUBST(LIB3270_REQUIRES) |
| 352 | 361 | |
| ... | ... | @@ -360,12 +369,14 @@ AC_CONFIG_FILES([ |
| 360 | 369 | pw3270.spec |
| 361 | 370 | pw3270.nsi |
| 362 | 371 | src/include/rules.mak |
| 372 | + src/include/plugin.mak | |
| 363 | 373 | src/lib3270/Makefile |
| 364 | 374 | src/lib3270/mkversion.sh |
| 365 | 375 | src/pw3270/Makefile |
| 366 | 376 | src/pw3270/uiparser/Makefile |
| 367 | 377 | src/tools/Makefile |
| 368 | 378 | src/plugins/remotectl/Makefile |
| 379 | + src/plugins/rx3270/Makefile | |
| 369 | 380 | man/Makefile |
| 370 | 381 | makegtkruntime.sh |
| 371 | 382 | ]) | ... | ... |
pw3270.cbp
| ... | ... | @@ -9,8 +9,8 @@ |
| 9 | 9 | <Option compiler="gcc" /> |
| 10 | 10 | <Build> |
| 11 | 11 | <Target title="Debug"> |
| 12 | - <Option output=".bin\Debug\pw3270" prefix_auto="1" extension_auto="1" /> | |
| 13 | - <Option object_output=".obj\Debug\" /> | |
| 12 | + <Option output=".bin/Debug/pw3270" prefix_auto="1" extension_auto="1" /> | |
| 13 | + <Option object_output=".obj/Debug/" /> | |
| 14 | 14 | <Option type="1" /> |
| 15 | 15 | <Option compiler="gcc" /> |
| 16 | 16 | <Option use_console_runner="0" /> |
| ... | ... | @@ -20,8 +20,8 @@ |
| 20 | 20 | </Compiler> |
| 21 | 21 | </Target> |
| 22 | 22 | <Target title="Release"> |
| 23 | - <Option output=".bin\Release\pw3270" prefix_auto="1" extension_auto="1" /> | |
| 24 | - <Option object_output=".obj\Release\" /> | |
| 23 | + <Option output=".bin/Release/pw3270" prefix_auto="1" extension_auto="1" /> | |
| 24 | + <Option object_output=".obj/Release/" /> | |
| 25 | 25 | <Option type="0" /> |
| 26 | 26 | <Option compiler="gcc" /> |
| 27 | 27 | <Compiler> |
| ... | ... | @@ -35,20 +35,20 @@ |
| 35 | 35 | <Compiler> |
| 36 | 36 | <Add option="-Wall" /> |
| 37 | 37 | <Add option="`pkg-config gtk+-3.0 lib3270 --cflags`" /> |
| 38 | - <Add directory="src\include" /> | |
| 38 | + <Add directory="src/include" /> | |
| 39 | 39 | </Compiler> |
| 40 | 40 | <Linker> |
| 41 | 41 | <Add option="`pkg-config gtk+-3.0 lib3270 --libs`" /> |
| 42 | 42 | </Linker> |
| 43 | 43 | <Unit filename="Makefile.in" /> |
| 44 | - <Unit filename="android\Makefile" /> | |
| 45 | - <Unit filename="android\jni\Android.mk" /> | |
| 46 | - <Unit filename="android\jni\globals.h" /> | |
| 47 | - <Unit filename="android\jni\main.cpp" /> | |
| 48 | - <Unit filename="android\jni\misc.cpp" /> | |
| 49 | - <Unit filename="android\jni\text.cpp" /> | |
| 50 | - <Unit filename="android\src\br\com\bb\pw3270\PW3270Activity.java" /> | |
| 51 | - <Unit filename="android\src\br\com\bb\pw3270\lib3270.java" /> | |
| 44 | + <Unit filename="android/Makefile" /> | |
| 45 | + <Unit filename="android/jni/Android.mk" /> | |
| 46 | + <Unit filename="android/jni/globals.h" /> | |
| 47 | + <Unit filename="android/jni/main.cpp" /> | |
| 48 | + <Unit filename="android/jni/misc.cpp" /> | |
| 49 | + <Unit filename="android/jni/text.cpp" /> | |
| 50 | + <Unit filename="android/src/br/com/bb/pw3270/PW3270Activity.java" /> | |
| 51 | + <Unit filename="android/src/br/com/bb/pw3270/lib3270.java" /> | |
| 52 | 52 | <Unit filename="autogen.sh" /> |
| 53 | 53 | <Unit filename="colors.conf" /> |
| 54 | 54 | <Unit filename="configure.ac" /> |
| ... | ... | @@ -56,300 +56,308 @@ |
| 56 | 56 | <Unit filename="makegtkruntime.sh.in" /> |
| 57 | 57 | <Unit filename="pw3270.nsi.in" /> |
| 58 | 58 | <Unit filename="pw3270.spec.in" /> |
| 59 | - <Unit filename="src\include\lib3270.h" /> | |
| 60 | - <Unit filename="src\include\lib3270\action_table.h" /> | |
| 61 | - <Unit filename="src\include\lib3270\actions.h" /> | |
| 62 | - <Unit filename="src\include\lib3270\config.h.in" /> | |
| 63 | - <Unit filename="src\include\lib3270\filetransfer.h" /> | |
| 64 | - <Unit filename="src\include\lib3270\html.h" /> | |
| 65 | - <Unit filename="src\include\lib3270\internals.h" /> | |
| 66 | - <Unit filename="src\include\lib3270\log.h" /> | |
| 67 | - <Unit filename="src\include\lib3270\macros.h" /> | |
| 68 | - <Unit filename="src\include\lib3270\popup.h" /> | |
| 69 | - <Unit filename="src\include\lib3270\selection.h" /> | |
| 70 | - <Unit filename="src\include\lib3270\session.h" /> | |
| 71 | - <Unit filename="src\include\lib3270\trace.h" /> | |
| 72 | - <Unit filename="src\include\pw3270.h" /> | |
| 73 | - <Unit filename="src\include\pw3270\hllapi.h" /> | |
| 74 | - <Unit filename="src\include\pw3270\plugin.h" /> | |
| 75 | - <Unit filename="src\include\pw3270\v3270.h" /> | |
| 76 | - <Unit filename="src\include\rules.mak.in" /> | |
| 77 | - <Unit filename="src\lib3270\3270ds.h" /> | |
| 78 | - <Unit filename="src\lib3270\Makefile.in" /> | |
| 79 | - <Unit filename="src\lib3270\X11keysym.h" /> | |
| 80 | - <Unit filename="src\lib3270\ansi.c"> | |
| 59 | + <Unit filename="src/include/lib3270.h" /> | |
| 60 | + <Unit filename="src/include/lib3270/action_table.h" /> | |
| 61 | + <Unit filename="src/include/lib3270/actions.h" /> | |
| 62 | + <Unit filename="src/include/lib3270/config.h.in" /> | |
| 63 | + <Unit filename="src/include/lib3270/filetransfer.h" /> | |
| 64 | + <Unit filename="src/include/lib3270/html.h" /> | |
| 65 | + <Unit filename="src/include/lib3270/internals.h" /> | |
| 66 | + <Unit filename="src/include/lib3270/log.h" /> | |
| 67 | + <Unit filename="src/include/lib3270/macros.h" /> | |
| 68 | + <Unit filename="src/include/lib3270/popup.h" /> | |
| 69 | + <Unit filename="src/include/lib3270/selection.h" /> | |
| 70 | + <Unit filename="src/include/lib3270/session.h" /> | |
| 71 | + <Unit filename="src/include/lib3270/trace.h" /> | |
| 72 | + <Unit filename="src/include/plugin.mak.in" /> | |
| 73 | + <Unit filename="src/include/pw3270.h" /> | |
| 74 | + <Unit filename="src/include/pw3270/hllapi.h" /> | |
| 75 | + <Unit filename="src/include/pw3270/plugin.h" /> | |
| 76 | + <Unit filename="src/include/pw3270/v3270.h" /> | |
| 77 | + <Unit filename="src/include/rules.mak.in" /> | |
| 78 | + <Unit filename="src/lib3270/3270ds.h" /> | |
| 79 | + <Unit filename="src/lib3270/Makefile.in" /> | |
| 80 | + <Unit filename="src/lib3270/X11keysym.h" /> | |
| 81 | + <Unit filename="src/lib3270/ansi.c"> | |
| 81 | 82 | <Option compilerVar="CC" /> |
| 82 | 83 | </Unit> |
| 83 | - <Unit filename="src\lib3270\ansic.h" /> | |
| 84 | - <Unit filename="src\lib3270\api.h" /> | |
| 85 | - <Unit filename="src\lib3270\arpa_telnet.h" /> | |
| 86 | - <Unit filename="src\lib3270\bounds.c"> | |
| 84 | + <Unit filename="src/lib3270/ansic.h" /> | |
| 85 | + <Unit filename="src/lib3270/api.h" /> | |
| 86 | + <Unit filename="src/lib3270/arpa_telnet.h" /> | |
| 87 | + <Unit filename="src/lib3270/bounds.c"> | |
| 87 | 88 | <Option compilerVar="CC" /> |
| 88 | 89 | </Unit> |
| 89 | - <Unit filename="src\lib3270\cg.h" /> | |
| 90 | - <Unit filename="src\lib3270\charset.c"> | |
| 90 | + <Unit filename="src/lib3270/cg.h" /> | |
| 91 | + <Unit filename="src/lib3270/charset.c"> | |
| 91 | 92 | <Option compilerVar="CC" /> |
| 92 | 93 | </Unit> |
| 93 | - <Unit filename="src\lib3270\charsetc.h" /> | |
| 94 | - <Unit filename="src\lib3270\ctlr.c"> | |
| 94 | + <Unit filename="src/lib3270/charsetc.h" /> | |
| 95 | + <Unit filename="src/lib3270/ctlr.c"> | |
| 95 | 96 | <Option compilerVar="CC" /> |
| 96 | 97 | </Unit> |
| 97 | - <Unit filename="src\lib3270\ctlrc.h" /> | |
| 98 | - <Unit filename="src\lib3270\ft.c"> | |
| 98 | + <Unit filename="src/lib3270/ctlrc.h" /> | |
| 99 | + <Unit filename="src/lib3270/ft.c"> | |
| 99 | 100 | <Option compilerVar="CC" /> |
| 100 | 101 | </Unit> |
| 101 | - <Unit filename="src\lib3270\ft_cut.c"> | |
| 102 | + <Unit filename="src/lib3270/ft_cut.c"> | |
| 102 | 103 | <Option compilerVar="CC" /> |
| 103 | 104 | </Unit> |
| 104 | - <Unit filename="src\lib3270\ft_cut_ds.h" /> | |
| 105 | - <Unit filename="src\lib3270\ft_cutc.h" /> | |
| 106 | - <Unit filename="src\lib3270\ft_dft.c"> | |
| 105 | + <Unit filename="src/lib3270/ft_cut_ds.h" /> | |
| 106 | + <Unit filename="src/lib3270/ft_cutc.h" /> | |
| 107 | + <Unit filename="src/lib3270/ft_dft.c"> | |
| 107 | 108 | <Option compilerVar="CC" /> |
| 108 | 109 | </Unit> |
| 109 | - <Unit filename="src\lib3270\ft_dft_ds.h" /> | |
| 110 | - <Unit filename="src\lib3270\ft_dftc.h" /> | |
| 111 | - <Unit filename="src\lib3270\ftc.h" /> | |
| 112 | - <Unit filename="src\lib3270\globals.h" /> | |
| 113 | - <Unit filename="src\lib3270\glue.c"> | |
| 110 | + <Unit filename="src/lib3270/ft_dft_ds.h" /> | |
| 111 | + <Unit filename="src/lib3270/ft_dftc.h" /> | |
| 112 | + <Unit filename="src/lib3270/ftc.h" /> | |
| 113 | + <Unit filename="src/lib3270/globals.h" /> | |
| 114 | + <Unit filename="src/lib3270/glue.c"> | |
| 114 | 115 | <Option compilerVar="CC" /> |
| 115 | 116 | </Unit> |
| 116 | - <Unit filename="src\lib3270\gluec.h" /> | |
| 117 | - <Unit filename="src\lib3270\host.c"> | |
| 117 | + <Unit filename="src/lib3270/gluec.h" /> | |
| 118 | + <Unit filename="src/lib3270/host.c"> | |
| 118 | 119 | <Option compilerVar="CC" /> |
| 119 | 120 | </Unit> |
| 120 | - <Unit filename="src\lib3270\hostc.h" /> | |
| 121 | - <Unit filename="src\lib3270\html.c"> | |
| 121 | + <Unit filename="src/lib3270/hostc.h" /> | |
| 122 | + <Unit filename="src/lib3270/html.c"> | |
| 122 | 123 | <Option compilerVar="CC" /> |
| 123 | 124 | </Unit> |
| 124 | - <Unit filename="src\lib3270\iocalls.c"> | |
| 125 | + <Unit filename="src/lib3270/iocalls.c"> | |
| 125 | 126 | <Option compilerVar="CC" /> |
| 126 | 127 | </Unit> |
| 127 | - <Unit filename="src\lib3270\kybd.c"> | |
| 128 | + <Unit filename="src/lib3270/kybd.c"> | |
| 128 | 129 | <Option compilerVar="CC" /> |
| 129 | 130 | </Unit> |
| 130 | - <Unit filename="src\lib3270\kybdc.h" /> | |
| 131 | - <Unit filename="src\lib3270\localdefs.h" /> | |
| 132 | - <Unit filename="src\lib3270\log.c"> | |
| 131 | + <Unit filename="src/lib3270/kybdc.h" /> | |
| 132 | + <Unit filename="src/lib3270/localdefs.h" /> | |
| 133 | + <Unit filename="src/lib3270/log.c"> | |
| 133 | 134 | <Option compilerVar="CC" /> |
| 134 | 135 | </Unit> |
| 135 | - <Unit filename="src\lib3270\macros.c"> | |
| 136 | + <Unit filename="src/lib3270/macros.c"> | |
| 136 | 137 | <Option compilerVar="CC" /> |
| 137 | 138 | </Unit> |
| 138 | - <Unit filename="src\lib3270\mkfb.c"> | |
| 139 | + <Unit filename="src/lib3270/mkfb.c"> | |
| 139 | 140 | <Option compilerVar="CC" /> |
| 140 | 141 | </Unit> |
| 141 | - <Unit filename="src\lib3270\paste.c"> | |
| 142 | + <Unit filename="src/lib3270/paste.c"> | |
| 142 | 143 | <Option compilerVar="CC" /> |
| 143 | 144 | </Unit> |
| 144 | - <Unit filename="src\lib3270\popupsc.h" /> | |
| 145 | - <Unit filename="src\lib3270\proxy.c"> | |
| 145 | + <Unit filename="src/lib3270/popupsc.h" /> | |
| 146 | + <Unit filename="src/lib3270/proxy.c"> | |
| 146 | 147 | <Option compilerVar="CC" /> |
| 147 | 148 | </Unit> |
| 148 | - <Unit filename="src\lib3270\proxyc.h" /> | |
| 149 | - <Unit filename="src\lib3270\resolver.c"> | |
| 149 | + <Unit filename="src/lib3270/proxyc.h" /> | |
| 150 | + <Unit filename="src/lib3270/resolver.c"> | |
| 150 | 151 | <Option compilerVar="CC" /> |
| 151 | 152 | </Unit> |
| 152 | - <Unit filename="src\lib3270\resolverc.h" /> | |
| 153 | - <Unit filename="src\lib3270\resources.c"> | |
| 153 | + <Unit filename="src/lib3270/resolverc.h" /> | |
| 154 | + <Unit filename="src/lib3270/resources.c"> | |
| 154 | 155 | <Option compilerVar="CC" /> |
| 155 | 156 | </Unit> |
| 156 | - <Unit filename="src\lib3270\resources.h" /> | |
| 157 | - <Unit filename="src\lib3270\rpq.c"> | |
| 157 | + <Unit filename="src/lib3270/resources.h" /> | |
| 158 | + <Unit filename="src/lib3270/rpq.c"> | |
| 158 | 159 | <Option compilerVar="CC" /> |
| 159 | 160 | </Unit> |
| 160 | - <Unit filename="src\lib3270\screen.c"> | |
| 161 | + <Unit filename="src/lib3270/screen.c"> | |
| 161 | 162 | <Option compilerVar="CC" /> |
| 162 | 163 | </Unit> |
| 163 | - <Unit filename="src\lib3270\screen.h" /> | |
| 164 | - <Unit filename="src\lib3270\screenc.h" /> | |
| 165 | - <Unit filename="src\lib3270\see.c"> | |
| 164 | + <Unit filename="src/lib3270/screen.h" /> | |
| 165 | + <Unit filename="src/lib3270/screenc.h" /> | |
| 166 | + <Unit filename="src/lib3270/see.c"> | |
| 166 | 167 | <Option compilerVar="CC" /> |
| 167 | 168 | </Unit> |
| 168 | - <Unit filename="src\lib3270\seec.h" /> | |
| 169 | - <Unit filename="src\lib3270\selection.c"> | |
| 169 | + <Unit filename="src/lib3270/seec.h" /> | |
| 170 | + <Unit filename="src/lib3270/selection.c"> | |
| 170 | 171 | <Option compilerVar="CC" /> |
| 171 | 172 | </Unit> |
| 172 | - <Unit filename="src\lib3270\session.c"> | |
| 173 | + <Unit filename="src/lib3270/session.c"> | |
| 173 | 174 | <Option compilerVar="CC" /> |
| 174 | 175 | </Unit> |
| 175 | - <Unit filename="src\lib3270\sf.c"> | |
| 176 | + <Unit filename="src/lib3270/sf.c"> | |
| 176 | 177 | <Option compilerVar="CC" /> |
| 177 | 178 | </Unit> |
| 178 | - <Unit filename="src\lib3270\sf.h" /> | |
| 179 | - <Unit filename="src\lib3270\shlobj_missing.h" /> | |
| 180 | - <Unit filename="src\lib3270\sources.mak" /> | |
| 181 | - <Unit filename="src\lib3270\state.c"> | |
| 179 | + <Unit filename="src/lib3270/sf.h" /> | |
| 180 | + <Unit filename="src/lib3270/shlobj_missing.h" /> | |
| 181 | + <Unit filename="src/lib3270/sources.mak" /> | |
| 182 | + <Unit filename="src/lib3270/state.c"> | |
| 182 | 183 | <Option compilerVar="CC" /> |
| 183 | 184 | </Unit> |
| 184 | - <Unit filename="src\lib3270\statusc.h" /> | |
| 185 | - <Unit filename="src\lib3270\tables.c"> | |
| 185 | + <Unit filename="src/lib3270/statusc.h" /> | |
| 186 | + <Unit filename="src/lib3270/tables.c"> | |
| 186 | 187 | <Option compilerVar="CC" /> |
| 187 | 188 | </Unit> |
| 188 | - <Unit filename="src\lib3270\tablesc.h" /> | |
| 189 | - <Unit filename="src\lib3270\telnet.c"> | |
| 189 | + <Unit filename="src/lib3270/tablesc.h" /> | |
| 190 | + <Unit filename="src/lib3270/telnet.c"> | |
| 190 | 191 | <Option compilerVar="CC" /> |
| 191 | 192 | </Unit> |
| 192 | - <Unit filename="src\lib3270\telnetc.h" /> | |
| 193 | - <Unit filename="src\lib3270\testprogram.c"> | |
| 193 | + <Unit filename="src/lib3270/telnetc.h" /> | |
| 194 | + <Unit filename="src/lib3270/testprogram.c"> | |
| 194 | 195 | <Option compilerVar="CC" /> |
| 195 | 196 | </Unit> |
| 196 | - <Unit filename="src\lib3270\tn3270e.h" /> | |
| 197 | - <Unit filename="src\lib3270\toggle.h" /> | |
| 198 | - <Unit filename="src\lib3270\toggles.c"> | |
| 197 | + <Unit filename="src/lib3270/tn3270e.h" /> | |
| 198 | + <Unit filename="src/lib3270/toggle.h" /> | |
| 199 | + <Unit filename="src/lib3270/toggles.c"> | |
| 199 | 200 | <Option compilerVar="CC" /> |
| 200 | 201 | </Unit> |
| 201 | - <Unit filename="src\lib3270\togglesc.h" /> | |
| 202 | - <Unit filename="src\lib3270\trace_ds.c"> | |
| 202 | + <Unit filename="src/lib3270/togglesc.h" /> | |
| 203 | + <Unit filename="src/lib3270/trace_ds.c"> | |
| 203 | 204 | <Option compilerVar="CC" /> |
| 204 | 205 | </Unit> |
| 205 | - <Unit filename="src\lib3270\trace_dsc.h" /> | |
| 206 | - <Unit filename="src\lib3270\utf8.c"> | |
| 206 | + <Unit filename="src/lib3270/trace_dsc.h" /> | |
| 207 | + <Unit filename="src/lib3270/utf8.c"> | |
| 207 | 208 | <Option compilerVar="CC" /> |
| 208 | 209 | </Unit> |
| 209 | - <Unit filename="src\lib3270\utf8c.h" /> | |
| 210 | - <Unit filename="src\lib3270\util.c"> | |
| 210 | + <Unit filename="src/lib3270/utf8c.h" /> | |
| 211 | + <Unit filename="src/lib3270/util.c"> | |
| 211 | 212 | <Option compilerVar="CC" /> |
| 212 | 213 | </Unit> |
| 213 | - <Unit filename="src\lib3270\utilc.h" /> | |
| 214 | - <Unit filename="src\lib3270\w3miscc.h" /> | |
| 215 | - <Unit filename="src\lib3270\widec.h" /> | |
| 216 | - <Unit filename="src\lib3270\winversc.h" /> | |
| 217 | - <Unit filename="src\lib3270\xioc.h" /> | |
| 218 | - <Unit filename="src\lib3270\xl.h" /> | |
| 219 | - <Unit filename="src\plugins\remotectl\Makefile.in" /> | |
| 220 | - <Unit filename="src\plugins\remotectl\hllapi.c"> | |
| 214 | + <Unit filename="src/lib3270/utilc.h" /> | |
| 215 | + <Unit filename="src/lib3270/w3miscc.h" /> | |
| 216 | + <Unit filename="src/lib3270/widec.h" /> | |
| 217 | + <Unit filename="src/lib3270/winversc.h" /> | |
| 218 | + <Unit filename="src/lib3270/xioc.h" /> | |
| 219 | + <Unit filename="src/lib3270/xl.h" /> | |
| 220 | + <Unit filename="src/plugins/remotectl/Makefile.in" /> | |
| 221 | + <Unit filename="src/plugins/remotectl/hllapi.c"> | |
| 221 | 222 | <Option compilerVar="CC" /> |
| 222 | 223 | </Unit> |
| 223 | - <Unit filename="src\plugins\remotectl\pipesource.c"> | |
| 224 | + <Unit filename="src/plugins/remotectl/pipesource.c"> | |
| 224 | 225 | <Option compilerVar="CC" /> |
| 225 | 226 | </Unit> |
| 226 | - <Unit filename="src\plugins\remotectl\remotectl.c"> | |
| 227 | + <Unit filename="src/plugins/remotectl/remotectl.c"> | |
| 227 | 228 | <Option compilerVar="CC" /> |
| 228 | 229 | </Unit> |
| 229 | - <Unit filename="src\plugins\remotectl\remotectl.h" /> | |
| 230 | - <Unit filename="src\plugins\remotectl\testprogram.c"> | |
| 230 | + <Unit filename="src/plugins/remotectl/remotectl.h" /> | |
| 231 | + <Unit filename="src/plugins/remotectl/testprogram.c"> | |
| 231 | 232 | <Option compilerVar="CC" /> |
| 232 | 233 | </Unit> |
| 233 | - <Unit filename="src\pw3270\Makefile.in" /> | |
| 234 | - <Unit filename="src\pw3270\actions.c"> | |
| 234 | + <Unit filename="src/plugins/rx3270/Makefile.in" /> | |
| 235 | + <Unit filename="src/plugins/rx3270/pluginmain.c"> | |
| 235 | 236 | <Option compilerVar="CC" /> |
| 236 | 237 | </Unit> |
| 237 | - <Unit filename="src\pw3270\colors.c"> | |
| 238 | + <Unit filename="src/plugins/rx3270/rxapimain.c"> | |
| 238 | 239 | <Option compilerVar="CC" /> |
| 239 | 240 | </Unit> |
| 240 | - <Unit filename="src\pw3270\common\common.h" /> | |
| 241 | - <Unit filename="src\pw3270\common\config.c"> | |
| 241 | + <Unit filename="src/pw3270/Makefile.in" /> | |
| 242 | + <Unit filename="src/pw3270/actions.c"> | |
| 242 | 243 | <Option compilerVar="CC" /> |
| 243 | 244 | </Unit> |
| 244 | - <Unit filename="src\pw3270\common\sources.mak" /> | |
| 245 | - <Unit filename="src\pw3270\dialog.c"> | |
| 245 | + <Unit filename="src/pw3270/colors.c"> | |
| 246 | 246 | <Option compilerVar="CC" /> |
| 247 | 247 | </Unit> |
| 248 | - <Unit filename="src\pw3270\filetransfer.c"> | |
| 248 | + <Unit filename="src/pw3270/common/common.h" /> | |
| 249 | + <Unit filename="src/pw3270/common/config.c"> | |
| 249 | 250 | <Option compilerVar="CC" /> |
| 250 | 251 | </Unit> |
| 251 | - <Unit filename="src\pw3270\filetransfer.h" /> | |
| 252 | - <Unit filename="src\pw3270\fonts.c"> | |
| 252 | + <Unit filename="src/pw3270/common/sources.mak" /> | |
| 253 | + <Unit filename="src/pw3270/dialog.c"> | |
| 253 | 254 | <Option compilerVar="CC" /> |
| 254 | 255 | </Unit> |
| 255 | - <Unit filename="src\pw3270\globals.h" /> | |
| 256 | - <Unit filename="src\pw3270\main.c"> | |
| 256 | + <Unit filename="src/pw3270/filetransfer.c"> | |
| 257 | 257 | <Option compilerVar="CC" /> |
| 258 | 258 | </Unit> |
| 259 | - <Unit filename="src\pw3270\plugin.c"> | |
| 259 | + <Unit filename="src/pw3270/filetransfer.h" /> | |
| 260 | + <Unit filename="src/pw3270/fonts.c"> | |
| 260 | 261 | <Option compilerVar="CC" /> |
| 261 | 262 | </Unit> |
| 262 | - <Unit filename="src\pw3270\print.c"> | |
| 263 | + <Unit filename="src/pw3270/globals.h" /> | |
| 264 | + <Unit filename="src/pw3270/main.c"> | |
| 263 | 265 | <Option compilerVar="CC" /> |
| 264 | 266 | </Unit> |
| 265 | - <Unit filename="src\pw3270\resources.rc"> | |
| 267 | + <Unit filename="src/pw3270/plugin.c"> | |
| 268 | + <Option compilerVar="CC" /> | |
| 269 | + </Unit> | |
| 270 | + <Unit filename="src/pw3270/print.c"> | |
| 271 | + <Option compilerVar="CC" /> | |
| 272 | + </Unit> | |
| 273 | + <Unit filename="src/pw3270/resources.rc"> | |
| 266 | 274 | <Option compilerVar="WINDRES" /> |
| 267 | 275 | </Unit> |
| 268 | - <Unit filename="src\pw3270\tools.c"> | |
| 276 | + <Unit filename="src/pw3270/tools.c"> | |
| 269 | 277 | <Option compilerVar="CC" /> |
| 270 | 278 | </Unit> |
| 271 | - <Unit filename="src\pw3270\uiparser\Makefile.in" /> | |
| 272 | - <Unit filename="src\pw3270\uiparser\accelerator.c"> | |
| 279 | + <Unit filename="src/pw3270/uiparser/Makefile.in" /> | |
| 280 | + <Unit filename="src/pw3270/uiparser/accelerator.c"> | |
| 273 | 281 | <Option compilerVar="CC" /> |
| 274 | 282 | </Unit> |
| 275 | - <Unit filename="src\pw3270\uiparser\action.c"> | |
| 283 | + <Unit filename="src/pw3270/uiparser/action.c"> | |
| 276 | 284 | <Option compilerVar="CC" /> |
| 277 | 285 | </Unit> |
| 278 | - <Unit filename="src\pw3270\uiparser\keypad.c"> | |
| 286 | + <Unit filename="src/pw3270/uiparser/keypad.c"> | |
| 279 | 287 | <Option compilerVar="CC" /> |
| 280 | 288 | </Unit> |
| 281 | - <Unit filename="src\pw3270\uiparser\menu.c"> | |
| 289 | + <Unit filename="src/pw3270/uiparser/menu.c"> | |
| 282 | 290 | <Option compilerVar="CC" /> |
| 283 | 291 | </Unit> |
| 284 | - <Unit filename="src\pw3270\uiparser\menubar.c"> | |
| 292 | + <Unit filename="src/pw3270/uiparser/menubar.c"> | |
| 285 | 293 | <Option compilerVar="CC" /> |
| 286 | 294 | </Unit> |
| 287 | - <Unit filename="src\pw3270\uiparser\menuitem.c"> | |
| 295 | + <Unit filename="src/pw3270/uiparser/menuitem.c"> | |
| 288 | 296 | <Option compilerVar="CC" /> |
| 289 | 297 | </Unit> |
| 290 | - <Unit filename="src\pw3270\uiparser\parsefile.c"> | |
| 298 | + <Unit filename="src/pw3270/uiparser/parsefile.c"> | |
| 291 | 299 | <Option compilerVar="CC" /> |
| 292 | 300 | </Unit> |
| 293 | - <Unit filename="src\pw3270\uiparser\parser.c"> | |
| 301 | + <Unit filename="src/pw3270/uiparser/parser.c"> | |
| 294 | 302 | <Option compilerVar="CC" /> |
| 295 | 303 | </Unit> |
| 296 | - <Unit filename="src\pw3270\uiparser\parser.h" /> | |
| 297 | - <Unit filename="src\pw3270\uiparser\popup.c"> | |
| 304 | + <Unit filename="src/pw3270/uiparser/parser.h" /> | |
| 305 | + <Unit filename="src/pw3270/uiparser/popup.c"> | |
| 298 | 306 | <Option compilerVar="CC" /> |
| 299 | 307 | </Unit> |
| 300 | - <Unit filename="src\pw3270\uiparser\private.h" /> | |
| 301 | - <Unit filename="src\pw3270\uiparser\script.c"> | |
| 308 | + <Unit filename="src/pw3270/uiparser/private.h" /> | |
| 309 | + <Unit filename="src/pw3270/uiparser/script.c"> | |
| 302 | 310 | <Option compilerVar="CC" /> |
| 303 | 311 | </Unit> |
| 304 | - <Unit filename="src\pw3270\uiparser\scroll.c"> | |
| 312 | + <Unit filename="src/pw3270/uiparser/scroll.c"> | |
| 305 | 313 | <Option compilerVar="CC" /> |
| 306 | 314 | </Unit> |
| 307 | - <Unit filename="src\pw3270\uiparser\separator.c"> | |
| 315 | + <Unit filename="src/pw3270/uiparser/separator.c"> | |
| 308 | 316 | <Option compilerVar="CC" /> |
| 309 | 317 | </Unit> |
| 310 | - <Unit filename="src\pw3270\uiparser\sources.mak" /> | |
| 311 | - <Unit filename="src\pw3270\uiparser\toolbar.c"> | |
| 318 | + <Unit filename="src/pw3270/uiparser/sources.mak" /> | |
| 319 | + <Unit filename="src/pw3270/uiparser/toolbar.c"> | |
| 312 | 320 | <Option compilerVar="CC" /> |
| 313 | 321 | </Unit> |
| 314 | - <Unit filename="src\pw3270\uiparser\toolitem.c"> | |
| 322 | + <Unit filename="src/pw3270/uiparser/toolitem.c"> | |
| 315 | 323 | <Option compilerVar="CC" /> |
| 316 | 324 | </Unit> |
| 317 | - <Unit filename="src\pw3270\v3270\accessible.c"> | |
| 325 | + <Unit filename="src/pw3270/v3270/accessible.c"> | |
| 318 | 326 | <Option compilerVar="CC" /> |
| 319 | 327 | </Unit> |
| 320 | - <Unit filename="src\pw3270\v3270\accessible.h" /> | |
| 321 | - <Unit filename="src\pw3270\v3270\draw.c"> | |
| 328 | + <Unit filename="src/pw3270/v3270/accessible.h" /> | |
| 329 | + <Unit filename="src/pw3270/v3270/draw.c"> | |
| 322 | 330 | <Option compilerVar="CC" /> |
| 323 | 331 | </Unit> |
| 324 | - <Unit filename="src\pw3270\v3270\genmarshal" /> | |
| 325 | - <Unit filename="src\pw3270\v3270\iocallback.c"> | |
| 332 | + <Unit filename="src/pw3270/v3270/genmarshal" /> | |
| 333 | + <Unit filename="src/pw3270/v3270/iocallback.c"> | |
| 326 | 334 | <Option compilerVar="CC" /> |
| 327 | 335 | </Unit> |
| 328 | - <Unit filename="src\pw3270\v3270\keyboard.c"> | |
| 336 | + <Unit filename="src/pw3270/v3270/keyboard.c"> | |
| 329 | 337 | <Option compilerVar="CC" /> |
| 330 | 338 | </Unit> |
| 331 | - <Unit filename="src\pw3270\v3270\mouse.c"> | |
| 339 | + <Unit filename="src/pw3270/v3270/mouse.c"> | |
| 332 | 340 | <Option compilerVar="CC" /> |
| 333 | 341 | </Unit> |
| 334 | - <Unit filename="src\pw3270\v3270\oia.c"> | |
| 342 | + <Unit filename="src/pw3270/v3270/oia.c"> | |
| 335 | 343 | <Option compilerVar="CC" /> |
| 336 | 344 | </Unit> |
| 337 | - <Unit filename="src\pw3270\v3270\private.h" /> | |
| 338 | - <Unit filename="src\pw3270\v3270\selection.c"> | |
| 345 | + <Unit filename="src/pw3270/v3270/private.h" /> | |
| 346 | + <Unit filename="src/pw3270/v3270/selection.c"> | |
| 339 | 347 | <Option compilerVar="CC" /> |
| 340 | 348 | </Unit> |
| 341 | - <Unit filename="src\pw3270\v3270\sources.mak" /> | |
| 342 | - <Unit filename="src\pw3270\v3270\widget.c"> | |
| 349 | + <Unit filename="src/pw3270/v3270/sources.mak" /> | |
| 350 | + <Unit filename="src/pw3270/v3270/widget.c"> | |
| 343 | 351 | <Option compilerVar="CC" /> |
| 344 | 352 | </Unit> |
| 345 | - <Unit filename="src\pw3270\window.c"> | |
| 353 | + <Unit filename="src/pw3270/window.c"> | |
| 346 | 354 | <Option compilerVar="CC" /> |
| 347 | 355 | </Unit> |
| 348 | - <Unit filename="src\tools\Makefile.in" /> | |
| 349 | - <Unit filename="ui\00default.xml" /> | |
| 350 | - <Unit filename="ui\10functions.xml" /> | |
| 351 | - <Unit filename="ui\10keypad.xml" /> | |
| 352 | - <Unit filename="ui\99debug.xml" /> | |
| 356 | + <Unit filename="src/tools/Makefile.in" /> | |
| 357 | + <Unit filename="ui/00default.xml" /> | |
| 358 | + <Unit filename="ui/10functions.xml" /> | |
| 359 | + <Unit filename="ui/10keypad.xml" /> | |
| 360 | + <Unit filename="ui/99debug.xml" /> | |
| 353 | 361 | <Unit filename="updateChangeLog.sh" /> |
| 354 | 362 | <Extensions> |
| 355 | 363 | <code_completion /> | ... | ... |
| ... | ... | @@ -0,0 +1,105 @@ |
| 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., 59 Temple | |
| 19 | +# Place, Suite 330, Boston, MA, 02111-1307, USA | |
| 20 | +# | |
| 21 | +# Contatos: | |
| 22 | +# | |
| 23 | +# perry.werneck@gmail.com (Alexandre Perry de Souza Werneck) | |
| 24 | +# erico.mendonca@gmail.com (Erico Mascarenhas de Mendonça) | |
| 25 | +# | |
| 26 | + | |
| 27 | +#---[ Sources ]---------------------------------------------------------------- | |
| 28 | + | |
| 29 | +DEPENDS=*.h ../../include/*.h ../../include/lib3270/*.h Makefile | |
| 30 | + | |
| 31 | +#---[ Paths ]------------------------------------------------------------------ | |
| 32 | + | |
| 33 | +ROOTDIR ?= . | |
| 34 | +OBJDIR ?= $(ROOTDIR)/.obj | |
| 35 | +BINDIR ?= $(ROOTDIR)/.bin | |
| 36 | +BINDBG ?= $(BINDIR)/Debug | |
| 37 | +BINRLS ?= $(BINDIR)/Release | |
| 38 | + | |
| 39 | +OBJDBG = $(OBJDIR)/Debug | |
| 40 | +OBJRLS = $(OBJDIR)/Release | |
| 41 | +OBJEXT = o | |
| 42 | + | |
| 43 | +#---[ Tools ]------------------------------------------------------------------ | |
| 44 | + | |
| 45 | +MKDIR=@MKDIR_P@ | |
| 46 | +CC=@CC@ | |
| 47 | +LD=@CC@ | |
| 48 | +MSGCAT=@MSGCAT@ | |
| 49 | +XGETTEXT=@XGETTEXT@ | |
| 50 | + | |
| 51 | +#---[ Rules ]------------------------------------------------------------------ | |
| 52 | +LDSOFLAGS=@LDSOFLAGS@ | |
| 53 | +DLL_FLAGS=@DLL_FLAGS@ | |
| 54 | +DLL_CFLAGS=@DLL_CFLAGS@ | |
| 55 | +DEBUG_CFLAGS=-DDEBUG=1 -g -Wall | |
| 56 | +LIB3270_MODE ?= Default | |
| 57 | + | |
| 58 | +ifeq ($(LIB3270_MODE),Debug) | |
| 59 | + PW3270_LIBS="-L$(BINDBG)@DLLDIR@ -l3270" | |
| 60 | + PW3270_CFLAGS="-I../../../src/include" | |
| 61 | + LIB3270_LIBS="-L$(BINDBG)@DLLDIR@ -l3270" | |
| 62 | + LIB270_CFLAGS="-I../../../src/include" | |
| 63 | +endif | |
| 64 | + | |
| 65 | +ifeq ($(LIB3270_MODE),Release) | |
| 66 | + PW3270_LIBS="-L$(BINRLS)@DLLDIR@ -l3270" | |
| 67 | + PW3270_CFLAGS="-I../../../src/include" | |
| 68 | + LIB3270_LIBS="-L$(BINRLS)@DLLDIR@ -l3270" | |
| 69 | + LIB270_CFLAGS="-I../../../src/include" | |
| 70 | +endif | |
| 71 | + | |
| 72 | +ifeq ($(LIB3270_MODE),Default) | |
| 73 | + LIB3270_LIBS ?= `pkg-config --libs lib3270` | |
| 74 | + LIB3270_CFLAGS ?= `pkg-config --cflags lib3270` | |
| 75 | + PW3270_LIBS ?= `pkg-config --libs pw3270 lib3270` | |
| 76 | + PW3270_CFLAGS ?= `pkg-config --cflags pw3270 lib3270` | |
| 77 | +endif | |
| 78 | + | |
| 79 | +GTK_CFLAGS ?= @GTK_CFLAGS@ @GTKMAC_CFLAGS@ | |
| 80 | +GTK_LIBS ?= @GTK_LIBS@ @GTKMAC_LIBS@ | |
| 81 | + | |
| 82 | +$(OBJDBG)/%.o: %.c $(DEPENDS) | |
| 83 | + @echo " CC `basename $@`" | |
| 84 | + @$(MKDIR) `dirname $@` | |
| 85 | + @$(CC) $(DLL_CFLAGS) $(CFLAGS) $(DEBUG_CFLAGS) $(PW3270_CFLAGS) $(GTK_CFLAGS) -o $@ -c $< | |
| 86 | + | |
| 87 | +$(OBJRLS)/%.o: %.c $(DEPENDS) | |
| 88 | + @echo " CC `basename $@`" | |
| 89 | + @$(MKDIR) `dirname $@` | |
| 90 | + @$(CC) $(DLL_CFLAGS) $(CFLAGS) $(PW3270_CFLAGS) $(GTK_CFLAGS) -o $@ -c $< | |
| 91 | + | |
| 92 | + | |
| 93 | +#---[ Targets ]---------------------------------------------------------------- | |
| 94 | + | |
| 95 | +all: $(BINRLS)/plugins/$(MODULE_NAME)@DLLEXT@ | |
| 96 | + | |
| 97 | +Release: $(BINRLS)/plugins/$(MODULE_NAME)@DLLEXT@ | |
| 98 | + | |
| 99 | +Debug: $(BINDBG)/plugins/$(MODULE_NAME)@DLLEXT@ | |
| 100 | + | |
| 101 | +clean: | |
| 102 | + @rm -fr $(OBJDIR) | |
| 103 | + @rm -fr $(BINDIR) | |
| 104 | + @rm -f testprogram@EXEEXT@ | |
| 105 | + @find . -name "*~" -exec rm -f {} \; | ... | ... |
src/plugins/remotectl/remotectl.c
| ... | ... | @@ -43,7 +43,7 @@ |
| 43 | 43 | #define ETIMEDOUT 1238 |
| 44 | 44 | #endif // ETIMEDOUT |
| 45 | 45 | |
| 46 | -/*--[ Implement ]------------------------------------------------------------------------------------*/ | |
| 46 | +/*--[ Globals ]--------------------------------------------------------------------------------------*/ | |
| 47 | 47 | |
| 48 | 48 | static const gchar control_char = '@'; |
| 49 | 49 | ... | ... |
| ... | ... | @@ -0,0 +1,43 @@ |
| 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., 59 Temple | |
| 19 | + * Place, Suite 330, Boston, MA, 02111-1307, USA | |
| 20 | + * | |
| 21 | + * Este programa está nomeado como pluginmain.c 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 <pw3270.h> | |
| 31 | + #include <pw3270/plugin.h> | |
| 32 | + #include <errno.h> | |
| 33 | + #include <lib3270/log.h> | |
| 34 | + | |
| 35 | +/*--[ Implement ]------------------------------------------------------------------------------------*/ | |
| 36 | + | |
| 37 | + LIB3270_EXPORT int pw3270_plugin_init(GtkWidget *window) | |
| 38 | + { | |
| 39 | + trace("%s called for window %p",__FUNCTION__,window); | |
| 40 | + | |
| 41 | + return 0; | |
| 42 | + } | |
| 43 | + | ... | ... |
| ... | ... | @@ -0,0 +1,28 @@ |
| 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., 59 Temple | |
| 19 | + * Place, Suite 330, Boston, MA, 02111-1307, USA | |
| 20 | + * | |
| 21 | + * Este programa está nomeado como rxapimain.c 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 | + */ | ... | ... |