mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-18 14:27:43 +00:00
56 lines
1.1 KiB
C++
56 lines
1.1 KiB
C++
/*
|
|
Name: mcompile
|
|
Copyright: Copyright (C) 2003-2017 SIL International.
|
|
Documentation:
|
|
Description:
|
|
Create Date: 3 Aug 2014
|
|
|
|
Modified Date: 3 Aug 2014
|
|
Authors: mcdurdin
|
|
Related Files:
|
|
Dependencies:
|
|
|
|
Bugs:
|
|
Todo:
|
|
Notes:
|
|
History: 03 Aug 2014 - mcdurdin - I4353 - V9.0 - mnemonic layout recompiler mixes up deadkey rules
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MCOMPILE_H
|
|
#define MCOMPILE_H
|
|
#include <vector>
|
|
#include "keymap.h"
|
|
|
|
int run(int argc, std::vector<std::u16string> str_argv, char* argv[]);
|
|
void KMX_LogError(const KMX_WCHART* m1, int m2 = 0);
|
|
|
|
|
|
struct DeadkeyMapping { // I4353
|
|
KMX_WCHAR deadkey, dkid;
|
|
KMX_UINT shift;
|
|
KMX_WORD vk;
|
|
};
|
|
|
|
extern std::vector<DeadkeyMapping> FDeadkeys; // I4353
|
|
|
|
|
|
//--------------------old
|
|
/*
|
|
#include <vector>
|
|
|
|
void LogError(PWSTR message, ...);
|
|
|
|
|
|
struct DeadkeyMapping { // I4353
|
|
WCHAR deadkey, dkid;
|
|
UINT shift;
|
|
WORD vk;
|
|
};
|
|
|
|
extern std::vector<DeadkeyMapping> FDeadkeys; // I4353
|
|
*/
|
|
|
|
#endif /*MCOMPILE_H*/
|