mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-06 00:45:32 +00:00
27 lines
No EOL
1.1 KiB
C++
27 lines
No EOL
1.1 KiB
C++
#include "keymap.h"
|
|
#include "helpers.h"
|
|
|
|
|
|
void check_avaiability_of_modules_(){
|
|
std::cout << "\n*********************************************************************************************\n";
|
|
if ( X_test == 0xFF1234 ) std::cout << "\t\t\t\t\t\treaching helpers was OK \n";
|
|
if ( !dummytest_keymap() ) std::cout << "\treaching keymap was OK \n";
|
|
if ( !dummytest_mc_kmx_file() ) std::cout << "\treaching mc_kmx_file was OK \n";
|
|
if ( !dummytest_mc_Savekeyboard() ) std::cout << "reaching mc_Savekeyboard was OK \n";
|
|
if ( KEYMANID_NONKEYMAN == 0xFFFFFFFF ) std::cout << "\t\t\t\t\t\treaching kmx_file was OK \n";
|
|
if ( X_test == 0xFF1234 ) std::cout << "\t\t\t\t\t\treaching kmx_types was OK \n";
|
|
std::cout << "*********************************************************************************************\n";
|
|
}
|
|
|
|
void MyCout(std::string in, bool end, std::string pre ) {
|
|
if (end == true)
|
|
std::cout << pre << " " << in << " " << "\n";
|
|
else
|
|
std::cout << pre << " " << in;
|
|
}
|
|
|
|
|
|
void DebugLog_S2(std::wstring txt, std::wstring fileName) {
|
|
|
|
wprintf(txt.c_str(), fileName);
|
|
} |