From 3f6232a496649a70ee5d2e1027072723d4171948 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 4 Oct 2014 19:18:26 +0000 Subject: MRA: - global variable went into a class; - warning fixes - code cleaning; git-svn-id: http://svn.miranda-ng.org/main/trunk@10691 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MRA/src/Mra.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'protocols/MRA/src/Mra.h') diff --git a/protocols/MRA/src/Mra.h b/protocols/MRA/src/Mra.h index a5d6d5d437..b34a378b36 100644 --- a/protocols/MRA/src/Mra.h +++ b/protocols/MRA/src/Mra.h @@ -6,8 +6,6 @@ #define _CRT_SECURE_NO_WARNINGS -#pragma warning(disable:4267 4312) - //#define CRTDLL #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers @@ -146,13 +144,13 @@ __forceinline BinBuffer& operator >>(BinBuffer& buf, CMStringW &sVar) { buf.get bool DB_GetStaticStringA(MCONTACT hContact, LPCSTR lpszModule, LPCSTR lpszValueName, LPSTR lpszRetBuff, size_t dwRetBuffSize, size_t *pdwRetBuffSize); bool DB_GetStaticStringW(MCONTACT hContact, LPCSTR lpszModule, LPCSTR lpszValueName, LPWSTR lpszRetBuff, size_t dwRetBuffSize, size_t *pdwRetBuffSize); - + bool DB_GetStringA(MCONTACT hContact, LPCSTR lpszModule, LPCSTR lpszValueName, CMStringA &Ret); bool DB_GetStringW(MCONTACT hContact, LPCSTR lpszModule, LPCSTR lpszValueName, CMStringW &Ret); - + bool DB_SetStringExA(MCONTACT hContact, LPCSTR lpszModule, LPCSTR lpszValueName, const CMStringA &value); bool DB_SetStringExW(MCONTACT hContact, LPCSTR lpszModule, LPCSTR lpszValueName, const CMStringW &value); - + bool DB_GetContactSettingBlob(MCONTACT hContact, LPCSTR lpszModule, LPCSTR lpszValueName, LPVOID lpRet, size_t dwRetBuffSize, size_t *pdwRetBuffSize); #include "MraConstans.h" @@ -179,7 +177,6 @@ extern HINSTANCE g_hInstance; extern HMODULE g_hDLLXStatusIcons; extern HICON g_hMainIcon; -extern DWORD g_dwGlobalPluginRunning; extern bool g_bChatExist; extern size_t g_dwMirWorkDirPathLen; -- cgit v1.2.3