Commit ccc58994a724b5c9ef20e55ba60e9a958a7d671b
1 parent
54c60f26
Exists in
master
diretivas do instalador modificadas
Showing
7 changed files
with
5 additions
and
4 deletions
Show diff stats
Clipboard/Clipboard.pyc
No preview for this file type
install/devel_install.bat
@@ -43,7 +43,7 @@ SETX HUNPOS_TAGGER %HOMEPATH%\vlibras-libs\bin\hunpos-tag.exe /M | @@ -43,7 +43,7 @@ SETX HUNPOS_TAGGER %HOMEPATH%\vlibras-libs\bin\hunpos-tag.exe /M | ||
43 | ECHO PYTHONPATH | 43 | ECHO PYTHONPATH |
44 | SETX PYTHONPATH %HOMEDRIVE%\Python27;%HOMEDRIVE%\Python27\Scripts;%HOMEDRIVE%\Python27\Lib\site-packages;%HOMEPATH%\vlibras-libs;%HOMEPATH%\vlibras-translate\src;%HOMEPATH%\vlibras-core-win\Clipboard /M | 44 | SETX PYTHONPATH %HOMEDRIVE%\Python27;%HOMEDRIVE%\Python27\Scripts;%HOMEDRIVE%\Python27\Lib\site-packages;%HOMEPATH%\vlibras-libs;%HOMEPATH%\vlibras-translate\src;%HOMEPATH%\vlibras-core-win\Clipboard /M |
45 | 45 | ||
46 | -SETX "PATH" "%PATH%";%HOMEPATH%\vlibras-libs\bin;%HOMEDRIVE%\Python27;%HOMEDRIVE%\Python27\Scripts;%HOMEDRIVE%\Python27\Lib\site-packages;%HOMEDRIVE%"\Program Files (x86)\7-Zip" /M | 46 | +SETX "PATH" "%PATH%";%HOMEPATH%\vlibras-libs\bin;%HOMEDRIVE%\Python27;%HOMEDRIVE%\Python27\Scripts;%HOMEDRIVE%\Python27\Lib\site-packages /M |
47 | 47 | ||
48 | ::Código executa a partir desse ponto caso o usuário não precise configurar as variáveis de ambiente | 48 | ::Código executa a partir desse ponto caso o usuário não precise configurar as variáveis de ambiente |
49 | :NO_VAR | 49 | :NO_VAR |
plugin/Plugin-x86/CorePlugin.dll
No preview for this file type
plugin/Plugin-x86/CorePlugin.lib
No preview for this file type
plugin/corePlugin.cpp
@@ -26,8 +26,9 @@ | @@ -26,8 +26,9 @@ | ||
26 | //Copia área de transferência para input | 26 | //Copia área de transferência para input |
27 | char *input = clipboard->clip(); | 27 | char *input = clipboard->clip(); |
28 | 28 | ||
29 | + | ||
29 | //Retorna a tradução do texto para glosa | 30 | //Retorna a tradução do texto para glosa |
30 | - return tradutor->convertStringToGlosa(input); | 31 | + return strlwr(tradutor->convertStringToGlosa(input)); |
31 | } | 32 | } |
32 | 33 | ||
33 | EXPORT_API int coreFinalize() | 34 | EXPORT_API int coreFinalize() |
plugin/corePlugin.h
1 | #ifndef _COREPLUGIN_H | 1 | #ifndef _COREPLUGIN_H |
2 | #define _COREPLUGIN_H | 2 | #define _COREPLUGIN_H |
3 | 3 | ||
4 | -#include <process.h> | ||
5 | -#include <windows.h> | ||
6 | #include "pyTradutor.h" | 4 | #include "pyTradutor.h" |
7 | #include "pyClip.h" | 5 | #include "pyClip.h" |
6 | +#include <string.h> | ||
8 | 7 | ||
9 | using namespace Tradutor; | 8 | using namespace Tradutor; |
10 | using namespace Clipboard; | 9 | using namespace Clipboard; |
plugin/testPlugin.cpp