summaryrefslogtreecommitdiff
path: root/plugins/CyrTranslit/src
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2015-04-27 20:56:43 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2015-04-27 20:56:43 +0000
commite7c68ba44e35f115654f6f082565ee5ddf2b51c6 (patch)
treef4cbfa5804ea4ec77f890ca9f017e6fb54946458 /plugins/CyrTranslit/src
parent99708d95a8611baf2f72b81b926082bf395b106b (diff)
CyrTranslit - unified project
git-svn-id: http://svn.miranda-ng.org/main/trunk@13209 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CyrTranslit/src')
-rw-r--r--plugins/CyrTranslit/src/MirandaContact.cpp6
-rw-r--r--plugins/CyrTranslit/src/MirandaContact.h2
-rw-r--r--plugins/CyrTranslit/src/TransliterationMap.cpp2
-rw-r--r--plugins/CyrTranslit/src/TransliterationMap.h2
-rw-r--r--plugins/CyrTranslit/src/TransliterationProtocol.cpp8
-rw-r--r--plugins/CyrTranslit/src/TransliterationProtocol.h2
-rw-r--r--plugins/CyrTranslit/src/main.cpp6
-rw-r--r--plugins/CyrTranslit/src/stdafx.cxx (renamed from plugins/CyrTranslit/src/stdafx.cpp)2
-rw-r--r--plugins/CyrTranslit/src/stdafx.h (renamed from plugins/CyrTranslit/src/plugin.h)2
9 files changed, 15 insertions, 17 deletions
diff --git a/plugins/CyrTranslit/src/MirandaContact.cpp b/plugins/CyrTranslit/src/MirandaContact.cpp
index 3114a0b4e2..80baac3387 100644
--- a/plugins/CyrTranslit/src/MirandaContact.cpp
+++ b/plugins/CyrTranslit/src/MirandaContact.cpp
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include "plugin.h"
+#include "stdafx.h"
namespace CyrTranslit
{
@@ -78,7 +78,7 @@ void MirandaContact::addMenuItem()
//------------------------------------------------------------------------------
-INT_PTR MirandaContact::onMenuCommandTransliterate(WPARAM wParam, LPARAM lParam)
+INT_PTR MirandaContact::onMenuCommandTransliterate(WPARAM wParam, LPARAM)
{
MCONTACT hContact = MCONTACT(wParam);
if (!CallService(MS_DB_CONTACT_IS, wParam, 0))
@@ -90,7 +90,7 @@ INT_PTR MirandaContact::onMenuCommandTransliterate(WPARAM wParam, LPARAM lParam)
//------------------------------------------------------------------------------
-int MirandaContact::onPreBuildContactMenu(WPARAM wParam, LPARAM lParam)
+int MirandaContact::onPreBuildContactMenu(WPARAM wParam, LPARAM)
{
if (!hTransliterateCmdMenuItem) return 0;
MCONTACT hContact = MCONTACT(wParam);
diff --git a/plugins/CyrTranslit/src/MirandaContact.h b/plugins/CyrTranslit/src/MirandaContact.h
index c963ae6c3a..4760d8f836 100644
--- a/plugins/CyrTranslit/src/MirandaContact.h
+++ b/plugins/CyrTranslit/src/MirandaContact.h
@@ -19,7 +19,7 @@
#pragma once
-#include "plugin.h"
+#include "stdafx.h"
namespace CyrTranslit
{
diff --git a/plugins/CyrTranslit/src/TransliterationMap.cpp b/plugins/CyrTranslit/src/TransliterationMap.cpp
index 99919a5960..f9ac320f44 100644
--- a/plugins/CyrTranslit/src/TransliterationMap.cpp
+++ b/plugins/CyrTranslit/src/TransliterationMap.cpp
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include "plugin.h"
+#include "stdafx.h"
namespace CyrTranslit
{
diff --git a/plugins/CyrTranslit/src/TransliterationMap.h b/plugins/CyrTranslit/src/TransliterationMap.h
index 596e9d3e8f..960cb6ceac 100644
--- a/plugins/CyrTranslit/src/TransliterationMap.h
+++ b/plugins/CyrTranslit/src/TransliterationMap.h
@@ -19,7 +19,7 @@
#pragma once
-#include "plugin.h"
+#include "stdafx.h"
namespace CyrTranslit
{
diff --git a/plugins/CyrTranslit/src/TransliterationProtocol.cpp b/plugins/CyrTranslit/src/TransliterationProtocol.cpp
index dc75e17dbf..c4d6649f2c 100644
--- a/plugins/CyrTranslit/src/TransliterationProtocol.cpp
+++ b/plugins/CyrTranslit/src/TransliterationProtocol.cpp
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include "plugin.h"
+#include "stdafx.h"
namespace CyrTranslit
{
@@ -37,7 +37,7 @@ void TransliterationProtocol::initialize()
}
//------------------------------------------------------------------------------
-void TransliterationProtocol::TranslateMessageUTF(WPARAM wParam, LPARAM lParam)
+void TransliterationProtocol::TranslateMessageUTF(WPARAM, LPARAM lParam)
{
CCSDATA *ccs = reinterpret_cast<CCSDATA*>(lParam);
@@ -55,7 +55,7 @@ void TransliterationProtocol::TranslateMessageUTF(WPARAM wParam, LPARAM lParam)
strcpy(reinterpret_cast<char*>(ccs->lParam), txtUTF.c_str());
}
-void TransliterationProtocol::TranslateMessageW(WPARAM wParam, LPARAM lParam)
+void TransliterationProtocol::TranslateMessageW(WPARAM, LPARAM lParam)
{
CCSDATA *ccs = reinterpret_cast<CCSDATA*>(lParam);
@@ -75,7 +75,7 @@ void TransliterationProtocol::TranslateMessageW(WPARAM wParam, LPARAM lParam)
wcscpy(reinterpret_cast<wchar_t*>(ccs->lParam + txtAlen), txtW.c_str());
}
-void TransliterationProtocol::TranslateMessageA(WPARAM wParam, LPARAM lParam)
+void TransliterationProtocol::TranslateMessageA(WPARAM, LPARAM lParam)
{
CCSDATA *ccs = reinterpret_cast<CCSDATA*>(lParam);
diff --git a/plugins/CyrTranslit/src/TransliterationProtocol.h b/plugins/CyrTranslit/src/TransliterationProtocol.h
index 2f746a64b8..08cb715447 100644
--- a/plugins/CyrTranslit/src/TransliterationProtocol.h
+++ b/plugins/CyrTranslit/src/TransliterationProtocol.h
@@ -19,7 +19,7 @@
#pragma once
-#include "plugin.h"
+#include "stdafx.h"
namespace CyrTranslit
{
diff --git a/plugins/CyrTranslit/src/main.cpp b/plugins/CyrTranslit/src/main.cpp
index 589d406e0f..5f8b499f08 100644
--- a/plugins/CyrTranslit/src/main.cpp
+++ b/plugins/CyrTranslit/src/main.cpp
@@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include "plugin.h"
+#include "stdafx.h"
HINSTANCE hInst;
int hLangpack = 0;
@@ -37,7 +37,7 @@ PLUGININFOEX pluginInfoEx={
//------------------------------------------------------------------------------
-BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID)
{
hInst = hinstDLL;
return TRUE;
@@ -45,7 +45,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
//------------------------------------------------------------------------------
-extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
+extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
{
return &pluginInfoEx;
}
diff --git a/plugins/CyrTranslit/src/stdafx.cpp b/plugins/CyrTranslit/src/stdafx.cxx
index eca86509fa..6fb37564b7 100644
--- a/plugins/CyrTranslit/src/stdafx.cpp
+++ b/plugins/CyrTranslit/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 "plugin.h" \ No newline at end of file
+#include "stdafx.h" \ No newline at end of file
diff --git a/plugins/CyrTranslit/src/plugin.h b/plugins/CyrTranslit/src/stdafx.h
index f6503b8140..40f1692b52 100644
--- a/plugins/CyrTranslit/src/plugin.h
+++ b/plugins/CyrTranslit/src/stdafx.h
@@ -17,8 +17,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#define _CRT_SECURE_NO_WARNINGS
-
#include <windows.h>
#include <map>