mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
- split keyboard loading into loading KMX file into blob and then loading the keyboard processor from the blob. - deprecate `km_core_keyboard_load` - move file access next to deprecated method. This is now the only place that loads a file in Core; unit tests have some more places that load files. - introduce GTest and add unit tests for loading from blob Cherry-picked from `epic/web-core` branch. Cherry-Pick-Commit:1deaa323adCherry-Pick-Commit:59019cc8b7Cherry-Pick-Commit:bc46458368Cherry-Pick-Commit:d06aa29956Cherry-Pick-Commit:1c88166f6eCherry-Pick-Commit:069cd21ecdCherry-Pick-Commit:052ae2ec35Cherry-Pick-Commit:11a2a3ba3aPart-of: #11293 Part-of: #8093
14 lines
222 B
C++
14 lines
222 B
C++
#ifndef __LOAD_KMX_FILE_HPP__
|
|
#define __LOAD_KMX_FILE_HPP__
|
|
|
|
#include "path.hpp"
|
|
|
|
namespace km {
|
|
namespace tests {
|
|
|
|
std::vector<uint8_t> load_kmx_file(km::core::path const& kb_path);
|
|
|
|
}
|
|
}
|
|
|
|
#endif // __LOAD_KMX_FILE_HPP__
|