Commit e073bb4b4802675bae576066f200fec58226b545
1 parent
837c5c5e
Exists in
master
and in
5 other branches
Testando interface HLLAPI, corrigindo pequenos problemas
Showing
4 changed files
with
6 additions
and
4 deletions
Show diff stats
po/pt_BR.po
| @@ -5,7 +5,7 @@ msgid "" | @@ -5,7 +5,7 @@ msgid "" | ||
| 5 | msgstr "" | 5 | msgstr "" |
| 6 | "Project-Id-Version: pw3270 5.0\n" | 6 | "Project-Id-Version: pw3270 5.0\n" |
| 7 | "Report-Msgid-Bugs-To: \n" | 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 | "PO-Revision-Date: 2012-09-14 14:32-0300\n" | 9 | "PO-Revision-Date: 2012-09-14 14:32-0300\n" |
| 10 | "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" | 10 | "Last-Translator: Perry Werneck <perry.werneck@gmail.com>\n" |
| 11 | "Language-Team: Português <perry.werneck@gmail.com>\n" | 11 | "Language-Team: Português <perry.werneck@gmail.com>\n" |
pw3270.cbp
| @@ -53,6 +53,7 @@ | @@ -53,6 +53,7 @@ | ||
| 53 | <Unit filename="colors.conf" /> | 53 | <Unit filename="colors.conf" /> |
| 54 | <Unit filename="configure.ac" /> | 54 | <Unit filename="configure.ac" /> |
| 55 | <Unit filename="debian.rules" /> | 55 | <Unit filename="debian.rules" /> |
| 56 | + <Unit filename="makegtkruntime.sh.in" /> | ||
| 56 | <Unit filename="pw3270.nsi.in" /> | 57 | <Unit filename="pw3270.nsi.in" /> |
| 57 | <Unit filename="pw3270.spec.in" /> | 58 | <Unit filename="pw3270.spec.in" /> |
| 58 | <Unit filename="src\include\lib3270.h" /> | 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,7 +107,7 @@ $(BINDBG)/libhllapi.dll: $(foreach SRC, $(basename $(HLLAPI_SRC)), $(OBJDBG)/$(S | ||
| 107 | testprogram@EXEEXT@: testprogram.c | 107 | testprogram@EXEEXT@: testprogram.c |
| 108 | @echo " CCLD `basename $@`" | 108 | @echo " CCLD `basename $@`" |
| 109 | @$(MKDIR) `dirname $@` | 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 | test: testprogram@EXEEXT@ | 112 | test: testprogram@EXEEXT@ |
| 113 | @PATH="../../../$(BINDIR)/Debug:$(PATH)" ./testprogram@EXEEXT@ | 113 | @PATH="../../../$(BINDIR)/Debug:$(PATH)" ./testprogram@EXEEXT@ |
src/plugins/remotectl/remotectl.c
| @@ -150,14 +150,15 @@ | @@ -150,14 +150,15 @@ | ||
| 150 | return 0; | 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 | H3270 *hSession = lib3270_get_default_session_handle(); | 155 | H3270 *hSession = lib3270_get_default_session_handle(); |
| 156 | 156 | ||
| 157 | if(!lib3270_connected(hSession)) | 157 | if(!lib3270_connected(hSession)) |
| 158 | return ENOTCONN; | 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 | return 0; | 163 | return 0; |
| 163 | } | 164 | } |