summaryrefslogtreecommitdiff
path: root/plugins/HwHotKeys/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-07-24 09:24:35 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-07-24 09:24:35 +0000
commitab734942de075bf5af260cd83f6e0b3f4de15f1a (patch)
treef0ad04814f837770261762836303efbc987b2727 /plugins/HwHotKeys/src
parent2293e8300f4c7f75161b0fbda8adde10d1d64f1a (diff)
HwHotKeys: common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@14667 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HwHotKeys/src')
-rw-r--r--plugins/HwHotKeys/src/HwHotKeys.cpp23
-rw-r--r--plugins/HwHotKeys/src/HwHotKeys_Dlg.cpp2
-rw-r--r--plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp2
-rw-r--r--plugins/HwHotKeys/src/HwHotKeys_KbdHook.cpp2
-rw-r--r--plugins/HwHotKeys/src/HwHotKeys_KeyName.cpp2
-rw-r--r--plugins/HwHotKeys/src/HwHotKeys_Util.cpp2
-rw-r--r--plugins/HwHotKeys/src/stdafx.cxx (renamed from plugins/HwHotKeys/src/stdafx.cpp)2
-rw-r--r--plugins/HwHotKeys/src/stdafx.h (renamed from plugins/HwHotKeys/src/HwHotKeys.h)0
8 files changed, 6 insertions, 29 deletions
diff --git a/plugins/HwHotKeys/src/HwHotKeys.cpp b/plugins/HwHotKeys/src/HwHotKeys.cpp
deleted file mode 100644
index a922fd80ba..0000000000
--- a/plugins/HwHotKeys/src/HwHotKeys.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-// HwHotKeys.cpp: определяет экспортированные функции для приложения DLL.
-//
-
-#include "stdafx.h"
-#include "HwHotKey.h"
-
-
-
-// Пример экспортированной переменной
-HWHOTKEYS_API int nHwHotKeys=0;
-
-// Пример экспортированной функции.
-HWHOTKEYS_API int fnHwHotKeys(void)
-{
- return 42;
-}
-
-// Конструктор для экспортированного класса.
-// см. определение класса в HwHotKeys.h
-CHwHotKeys::CHwHotKeys()
-{
- return;
-}
diff --git a/plugins/HwHotKeys/src/HwHotKeys_Dlg.cpp b/plugins/HwHotKeys/src/HwHotKeys_Dlg.cpp
index c159acc2d8..3f59ff7712 100644
--- a/plugins/HwHotKeys/src/HwHotKeys_Dlg.cpp
+++ b/plugins/HwHotKeys/src/HwHotKeys_Dlg.cpp
@@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 - 1307, USA.
============================================================================ */
-#include "HwHotKeys.h"
+#include "stdafx.h"
INT_PTR CALLBACK OptDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
diff --git a/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp b/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp
index dadc8f49b4..f7af3c9ccc 100644
--- a/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp
+++ b/plugins/HwHotKeys/src/HwHotKeys_DllMain.cpp
@@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 - 1307, USA.
-#include "HwHotKeys.h"
+#include "stdafx.h"
HINSTANCE hInstance;
int hLangpack;
diff --git a/plugins/HwHotKeys/src/HwHotKeys_KbdHook.cpp b/plugins/HwHotKeys/src/HwHotKeys_KbdHook.cpp
index ac80b69036..0d2c95114a 100644
--- a/plugins/HwHotKeys/src/HwHotKeys_KbdHook.cpp
+++ b/plugins/HwHotKeys/src/HwHotKeys_KbdHook.cpp
@@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 - 1307, USA.
============================================================================ */
-#include "HwHotKeys.h"
+#include "stdafx.h"
LRESULT CALLBACK key_hook(int nCode, WPARAM wParam, LPARAM lParam) // https://msdn.microsoft.com/en-us/library/windows/desktop/ms644985%28v=vs.85%29.aspx
{
diff --git a/plugins/HwHotKeys/src/HwHotKeys_KeyName.cpp b/plugins/HwHotKeys/src/HwHotKeys_KeyName.cpp
index dda752fc4b..ef116b6b5d 100644
--- a/plugins/HwHotKeys/src/HwHotKeys_KeyName.cpp
+++ b/plugins/HwHotKeys/src/HwHotKeys_KeyName.cpp
@@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 - 1307, USA.
============================================================================ */
-#include "HwHotKeys.h"
+#include "stdafx.h"
// тут описаны известные имена кнопок по аппаратным сканкодам (KbdLLHookStruct.scanCode & 0xFF) и ((LOBYTE(KbdLLHookStruct.flags)&1)
// и по VK-кодам (KbdLLHookStruct.vkCode)
diff --git a/plugins/HwHotKeys/src/HwHotKeys_Util.cpp b/plugins/HwHotKeys/src/HwHotKeys_Util.cpp
index cc22aeae7c..39b299d758 100644
--- a/plugins/HwHotKeys/src/HwHotKeys_Util.cpp
+++ b/plugins/HwHotKeys/src/HwHotKeys_Util.cpp
@@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111 - 1307, USA.
============================================================================ */
-#include "HwHotKeys.h"
+#include "stdafx.h"
diff --git a/plugins/HwHotKeys/src/stdafx.cpp b/plugins/HwHotKeys/src/stdafx.cxx
index 93782795d3..6fb37564b7 100644
--- a/plugins/HwHotKeys/src/stdafx.cpp
+++ b/plugins/HwHotKeys/src/stdafx.cxx
@@ -15,4 +15,4 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "HwHotKeys.h" \ No newline at end of file
+#include "stdafx.h" \ No newline at end of file
diff --git a/plugins/HwHotKeys/src/HwHotKeys.h b/plugins/HwHotKeys/src/stdafx.h
index 162b14a481..162b14a481 100644
--- a/plugins/HwHotKeys/src/HwHotKeys.h
+++ b/plugins/HwHotKeys/src/stdafx.h