summaryrefslogtreecommitdiff
path: root/windows/keybuddy2/src/includes.h
diff options
context:
space:
mode:
authorqwertfisch <qwertfisch@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2012-11-19 21:25:24 +0000
committerqwertfisch <qwertfisch@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2012-11-19 21:25:24 +0000
commit4cf9a3b8fe91cc0b43d0cbab51cf02c7b1f8d60d (patch)
tree6f6ea79393d093d6fb1627bc6279f2dfae20b155 /windows/keybuddy2/src/includes.h
parent2d7fc76824f63c6e72193e0a4c48ce55cbb53aee (diff)
downloadneo-layout-4cf9a3b8fe91cc0b43d0cbab51cf02c7b1f8d60d.tar.gz
neo-layout-4cf9a3b8fe91cc0b43d0cbab51cf02c7b1f8d60d.tar.bz2
neo-layout-4cf9a3b8fe91cc0b43d0cbab51cf02c7b1f8d60d.zip
KeyBuddy2: ein neuer Ansatz eines Layouttools, ähnlich zu NeoVars, aber in C++ geschrieben
git-svn-id: https://svn.neo-layout.org@2431 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows/keybuddy2/src/includes.h')
-rw-r--r--windows/keybuddy2/src/includes.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/windows/keybuddy2/src/includes.h b/windows/keybuddy2/src/includes.h
new file mode 100644
index 0000000..de54bc1
--- /dev/null
+++ b/windows/keybuddy2/src/includes.h
@@ -0,0 +1,45 @@
+#ifndef _KeyBuddy2_includes_h_
+#define _KeyBuddy2_includes_h_
+
+// custom #defines:
+//#define DEBUG
+
+#ifdef DEBUG
+ //#define SRCPATH "C:/Eigene Dateien/c-gefrickel/KeyBuddy2/"
+ #define SRCPATH ""
+#else
+ #define SRCPATH ""
+#endif
+
+#define HOTSTRING 0x80 // random number
+
+#include "keydefines.inc"
+#include "mousedefines.inc"
+
+// includes and functional defines
+
+#define WINVER 0x0500 // otherwise SendInput and KEYEVENTF_UNICODE are unknown
+#include <CtrlLib/CtrlLib.h>
+using namespace Upp;
+
+#include "keyButton.h"
+
+#ifdef DEBUG
+ #define LAYOUTFILE <KeyBuddy2/KeyBuddy2_debug.lay>
+#else
+ #define LAYOUTFILE <KeyBuddy2/KeyBuddy2.lay>
+#endif
+
+#include <CtrlCore/lay.h>
+
+#include <windows.h>
+#include <stdio.h>
+#include <stdlib.h>
+
+#include "hookfuncs.h" // windows api specific functions needed for keyboard hook
+#include "KeyBuddy2.h" // programm class
+#include "logger.h" // logging functions for debug
+#include "hotstrings.h" // logging and replacing for hotstrings
+#include "mousecontrol.h" // well, mouse control
+
+#endif