KEYMAPPER: Make the keymapper mandatory
This commit is contained in:
parent
cc336635a1
commit
14663c4790
42 changed files with 14 additions and 331 deletions
|
@ -341,17 +341,6 @@ int main(int argc, char *argv[]) {
|
|||
cout << " " << i->description << '\n';
|
||||
}
|
||||
|
||||
// Check if the keymapper and the event recorder are enabled simultaneously
|
||||
bool keymapperEnabled = false;
|
||||
for (FeatureList::const_iterator i = setup.features.begin(); i != setup.features.end(); ++i) {
|
||||
if (i->enable && !strcmp(i->name, "keymapper"))
|
||||
keymapperEnabled = true;
|
||||
if (i->enable && !strcmp(i->name, "eventrecorder") && keymapperEnabled) {
|
||||
std::cerr << "ERROR: The keymapper and the event recorder cannot be enabled simultaneously currently, please disable one of the two\n";
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
// Check if tools and tests are enabled simultaneously
|
||||
if (setup.devTools && setup.tests) {
|
||||
std::cerr << "ERROR: The tools and tests projects cannot be created simultaneously\n";
|
||||
|
@ -1087,7 +1076,6 @@ const Feature s_features[] = {
|
|||
{ "cloud", "USE_CLOUD", "", true, "Cloud integration support" },
|
||||
{ "translation", "USE_TRANSLATION", "", true, "Translation support" },
|
||||
{ "vkeybd", "ENABLE_VKEYBD", "", false, "Virtual keyboard support"},
|
||||
{ "keymapper", "ENABLE_KEYMAPPER", "", false, "Keymapper support"},
|
||||
{ "eventrecorder", "ENABLE_EVENTRECORDER", "", false, "Event recorder support"},
|
||||
{ "updates", "USE_UPDATES", "", false, "Updates support"},
|
||||
{ "dialogs", "USE_SYSDIALOGS", "", true, "System dialogs support"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue