Commit e073bb4b4802675bae576066f200fec58226b545

Authored by perry.werneck@gmail.com
1 parent 837c5c5e

Testando interface HLLAPI, corrigindo pequenos problemas

po/pt_BR.po
... ... @@ -5,7 +5,7 @@ msgid ""
5 5 msgstr ""
6 6 "Project-Id-Version: pw3270 5.0\n"
7 7 "Report-Msgid-Bugs-To: \n"
8   -"POT-Creation-Date: 2012-09-14 14:03-0300\n"
  8 +"POT-Creation-Date: 2012-09-14 19:47-0300\n"
9 9 "PO-Revision-Date: 2012-09-14 14:32-0300\n"
10 10 "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n"
11 11 "Language-Team: Português <perry.werneck@gmail.com>\n"
... ...
pw3270.cbp
... ... @@ -53,6 +53,7 @@
53 53 <Unit filename="colors.conf" />
54 54 <Unit filename="configure.ac" />
55 55 <Unit filename="debian.rules" />
  56 + <Unit filename="makegtkruntime.sh.in" />
56 57 <Unit filename="pw3270.nsi.in" />
57 58 <Unit filename="pw3270.spec.in" />
58 59 <Unit filename="src\include\lib3270.h" />
... ...
src/plugins/remotectl/Makefile.in
... ... @@ -107,7 +107,7 @@ $(BINDBG)/libhllapi.dll: $(foreach SRC, $(basename $(HLLAPI_SRC)), $(OBJDBG)/$(S
107 107 testprogram@EXEEXT@: testprogram.c
108 108 @echo " CCLD `basename $@`"
109 109 @$(MKDIR) `dirname $@`
110   - @$(CC) $(CFLAGS) -I../../../src/include -L../../../$(BINDIR)/Debug $(DEBUG_CFLAGS) -lhllapi -o $@ -c $<
  110 + @$(CC) $(CFLAGS) -I../../../src/include -L../../../$(BINDIR)/Debug $(DEBUG_CFLAGS) -lhllapi -o $@ $<
111 111  
112 112 test: testprogram@EXEEXT@
113 113 @PATH="../../../$(BINDIR)/Debug:$(PATH)" ./testprogram@EXEEXT@
... ...
src/plugins/remotectl/remotectl.c
... ... @@ -150,14 +150,15 @@
150 150 return 0;
151 151 }
152 152  
153   - static int cmd_sendstring(unsigned short rc, char *string, unsigned short length)
  153 + static int cmd_sendstring(unsigned short rc, char *text, unsigned short length)
154 154 {
155 155 H3270 *hSession = lib3270_get_default_session_handle();
156 156  
157 157 if(!lib3270_connected(hSession))
158 158 return ENOTCONN;
159 159  
160   - #warning Converter formato da string e incluir no buffer
  160 + #warning Converter formato da string
  161 + lib3270_emulate_input(hSession,text,strlen(text),0);
161 162  
162 163 return 0;
163 164 }
... ...