From c16b6082563b8b18fe02ce0721bf184aecd7127a Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 1 Aug 2015 19:58:00 +0000 Subject: TranslitSwitcher: common project git-svn-id: http://svn.miranda-ng.org/main/trunk@14793 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TranslitSwitcher/src/Layoutproc.cpp | 2 +- plugins/TranslitSwitcher/src/TranslitSwitcher.cpp | 2 +- plugins/TranslitSwitcher/src/TranslitSwitcher.h | 53 ----------------------- plugins/TranslitSwitcher/src/stdafx.cpp | 18 -------- plugins/TranslitSwitcher/src/stdafx.cxx | 18 ++++++++ plugins/TranslitSwitcher/src/stdafx.h | 51 ++++++++++++++++++++++ 6 files changed, 71 insertions(+), 73 deletions(-) delete mode 100644 plugins/TranslitSwitcher/src/TranslitSwitcher.h delete mode 100644 plugins/TranslitSwitcher/src/stdafx.cpp create mode 100644 plugins/TranslitSwitcher/src/stdafx.cxx create mode 100644 plugins/TranslitSwitcher/src/stdafx.h (limited to 'plugins/TranslitSwitcher/src') diff --git a/plugins/TranslitSwitcher/src/Layoutproc.cpp b/plugins/TranslitSwitcher/src/Layoutproc.cpp index d063b4b3ad..28e99f75e5 100644 --- a/plugins/TranslitSwitcher/src/Layoutproc.cpp +++ b/plugins/TranslitSwitcher/src/Layoutproc.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "TranslitSwitcher.h" +#include "stdafx.h" SMADD_BATCHPARSE2 smgp; SMADD_BATCHPARSERES *smileyPrs = NULL; diff --git a/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp b/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp index 6bbb673832..1dcd9f4b71 100644 --- a/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp +++ b/plugins/TranslitSwitcher/src/TranslitSwitcher.cpp @@ -17,7 +17,7 @@ not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "TranslitSwitcher.h" +#include "stdafx.h" HINSTANCE hInst = NULL; diff --git a/plugins/TranslitSwitcher/src/TranslitSwitcher.h b/plugins/TranslitSwitcher/src/TranslitSwitcher.h deleted file mode 100644 index ed822a31d9..0000000000 --- a/plugins/TranslitSwitcher/src/TranslitSwitcher.h +++ /dev/null @@ -1,53 +0,0 @@ -/* -Copyright (C) 2007 Dmitry Titkov (C) 2010 tico-tico, Mataes - -This is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public -License as published by the Free Software Foundation; either -version 2 of the License, or (at your option) any later version. - -This is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with this file; see the file license.txt. If -not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. -*/ - -#ifndef __TRANSLITSWIITCHER_H__ -#define __TRANSLITSWIITCHER_H__ - -#define _CRT_SECURE_NO_WARNINGS - -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -#include "version.h" -#include "resource.h" - -#define IDC_MESSAGE 1002 -#define IDC_CHATMESSAGE 1009 - -VOID SwitchLayout(bool); -VOID TranslitLayout(bool); -VOID InvertCase(bool); -int OnButtonPressed(WPARAM wParam, LPARAM lParam); - - -#endif diff --git a/plugins/TranslitSwitcher/src/stdafx.cpp b/plugins/TranslitSwitcher/src/stdafx.cpp deleted file mode 100644 index 5fc5058fd8..0000000000 --- a/plugins/TranslitSwitcher/src/stdafx.cpp +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) - -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation version 2 -of the License. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program. If not, see . -*/ - -#include "TranslitSwitcher.h" \ No newline at end of file diff --git a/plugins/TranslitSwitcher/src/stdafx.cxx b/plugins/TranslitSwitcher/src/stdafx.cxx new file mode 100644 index 0000000000..6fb37564b7 --- /dev/null +++ b/plugins/TranslitSwitcher/src/stdafx.cxx @@ -0,0 +1,18 @@ +/* +Copyright (C) 2012-15 Miranda NG project (http://miranda-ng.org) + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation version 2 +of the License. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program. If not, see . +*/ + +#include "stdafx.h" \ No newline at end of file diff --git a/plugins/TranslitSwitcher/src/stdafx.h b/plugins/TranslitSwitcher/src/stdafx.h new file mode 100644 index 0000000000..662bef8ed7 --- /dev/null +++ b/plugins/TranslitSwitcher/src/stdafx.h @@ -0,0 +1,51 @@ +/* +Copyright (C) 2007 Dmitry Titkov (C) 2010 tico-tico, Mataes + +This is free software; you can redistribute it and/or +modify it under the terms of the GNU Library General Public +License as published by the Free Software Foundation; either +version 2 of the License, or (at your option) any later version. + +This is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Library General Public License for more details. + +You should have received a copy of the GNU Library General Public +License along with this file; see the file license.txt. If +not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. +*/ + +#ifndef __TRANSLITSWIITCHER_H__ +#define __TRANSLITSWIITCHER_H__ + +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include + +#include "version.h" +#include "resource.h" + +#define IDC_MESSAGE 1002 +#define IDC_CHATMESSAGE 1009 + +VOID SwitchLayout(bool); +VOID TranslitLayout(bool); +VOID InvertCase(bool); +int OnButtonPressed(WPARAM wParam, LPARAM lParam); + + +#endif -- cgit v1.2.3