diff options
Diffstat (limited to 'plugins/FavContacts/src')
-rw-r--r-- | plugins/FavContacts/src/contact_cache.cpp | 2 | ||||
-rw-r--r-- | plugins/FavContacts/src/cserver.cpp | 2 | ||||
-rw-r--r-- | plugins/FavContacts/src/csocket.cpp | 2 | ||||
-rw-r--r-- | plugins/FavContacts/src/http_api.cpp | 2 | ||||
-rw-r--r-- | plugins/FavContacts/src/main.cpp | 6 | ||||
-rw-r--r-- | plugins/FavContacts/src/menu.cpp | 2 | ||||
-rw-r--r-- | plugins/FavContacts/src/options.cpp | 4 | ||||
-rw-r--r-- | plugins/FavContacts/src/services.cpp | 16 | ||||
-rw-r--r-- | plugins/FavContacts/src/stdafx.cxx (renamed from plugins/FavContacts/src/stdafx.cpp) | 2 | ||||
-rw-r--r-- | plugins/FavContacts/src/stdafx.h (renamed from plugins/FavContacts/src/headers.h) | 0 |
10 files changed, 19 insertions, 19 deletions
diff --git a/plugins/FavContacts/src/contact_cache.cpp b/plugins/FavContacts/src/contact_cache.cpp index fc6c2dc45d..896eae5cca 100644 --- a/plugins/FavContacts/src/contact_cache.cpp +++ b/plugins/FavContacts/src/contact_cache.cpp @@ -1,4 +1,4 @@ -#include "headers.h"
+#include "stdafx.h"
static int CompareItem(const CContactCache::TContactInfo *p1, const CContactCache::TContactInfo *p2)
{
diff --git a/plugins/FavContacts/src/cserver.cpp b/plugins/FavContacts/src/cserver.cpp index d3a7ff5a0a..18739f8e34 100644 --- a/plugins/FavContacts/src/cserver.cpp +++ b/plugins/FavContacts/src/cserver.cpp @@ -1,4 +1,4 @@ -#include "headers.h"
+#include "stdafx.h"
#include "csocket.h"
#include "cserver.h"
diff --git a/plugins/FavContacts/src/csocket.cpp b/plugins/FavContacts/src/csocket.cpp index 8b31467c61..0737d8e734 100644 --- a/plugins/FavContacts/src/csocket.cpp +++ b/plugins/FavContacts/src/csocket.cpp @@ -1,4 +1,4 @@ -#include "headers.h"
+#include "stdafx.h"
#include "csocket.h"
diff --git a/plugins/FavContacts/src/http_api.cpp b/plugins/FavContacts/src/http_api.cpp index 77f918a1c9..14a65dca5c 100644 --- a/plugins/FavContacts/src/http_api.cpp +++ b/plugins/FavContacts/src/http_api.cpp @@ -1,4 +1,4 @@ -#include "headers.h"
+#include "stdafx.h"
#include "csocket.h"
#include "cserver.h"
diff --git a/plugins/FavContacts/src/main.cpp b/plugins/FavContacts/src/main.cpp index 6051d2ad7c..62579e9ba2 100644 --- a/plugins/FavContacts/src/main.cpp +++ b/plugins/FavContacts/src/main.cpp @@ -18,7 +18,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 "headers.h"
+#include "stdafx.h"
#include "http_api.h"
@@ -52,13 +52,13 @@ CContactCache *g_contactCache = NULL; Options g_Options = { 0 };
-BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID)
{
g_hInst = hinstDLL;
return TRUE;
}
-extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD mirandaVersion)
+extern "C" __declspec(dllexport) PLUGININFOEX *MirandaPluginInfoEx(DWORD)
{
return &pluginInfo;
}
diff --git a/plugins/FavContacts/src/menu.cpp b/plugins/FavContacts/src/menu.cpp index 56c0c5992d..903590bd88 100644 --- a/plugins/FavContacts/src/menu.cpp +++ b/plugins/FavContacts/src/menu.cpp @@ -18,7 +18,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 "headers.h"
+#include "stdafx.h"
UINT g_maxItemWidth = 0;
float g_widthMultiplier = 0;
diff --git a/plugins/FavContacts/src/options.cpp b/plugins/FavContacts/src/options.cpp index 0d6c8f7eac..aa895c4856 100644 --- a/plugins/FavContacts/src/options.cpp +++ b/plugins/FavContacts/src/options.cpp @@ -18,7 +18,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 "headers.h"
+#include "stdafx.h"
void LoadOptions()
{
@@ -257,7 +257,7 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARA return FALSE;
}
-int ProcessOptInitialise(WPARAM wParam, LPARAM lParam)
+int ProcessOptInitialise(WPARAM wParam, LPARAM)
{
OPTIONSDIALOGPAGE odp = { 0 };
odp.position = 100000000;
diff --git a/plugins/FavContacts/src/services.cpp b/plugins/FavContacts/src/services.cpp index 4ae06077e1..c17e515b2d 100644 --- a/plugins/FavContacts/src/services.cpp +++ b/plugins/FavContacts/src/services.cpp @@ -18,31 +18,31 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include "headers.h"
+#include "stdafx.h"
static MCONTACT hContactToActivate;
static HANDLE hDialogsList;
-INT_PTR svcShowMenu(WPARAM wParam, LPARAM lParam)
+INT_PTR svcShowMenu(WPARAM, LPARAM)
{
ShowMenu(false);
return 0;
}
-INT_PTR svcShowMenuCentered(WPARAM wParam, LPARAM lParam)
+INT_PTR svcShowMenuCentered(WPARAM, LPARAM)
{
ShowMenu(g_Options.bCenterHotkey ? true : false);
return 0;
}
-INT_PTR svcOpenContact(WPARAM wParam, LPARAM lParam)
+INT_PTR svcOpenContact(WPARAM wParam, LPARAM)
{
hContactToActivate = wParam;
CallService(MS_CLIST_CONTACTDOUBLECLICKED, (WPARAM)hContactToActivate, 0);
return 0;
}
-int ProcessSrmmEvent(WPARAM wParam, LPARAM lParam)
+int ProcessSrmmEvent(WPARAM, LPARAM lParam)
{
MessageWindowEventData *event = (MessageWindowEventData *)lParam;
@@ -110,7 +110,7 @@ static __forceinline COLORREF sttShadeColor(COLORREF clLine1, COLORREF clBack) (GetBValue(clLine1) * 66UL + GetBValue(clBack) * 34UL) / 100);
}
-int ProcessTBLoaded(WPARAM wParam, LPARAM lParam)
+int ProcessTBLoaded(WPARAM, LPARAM)
{
TTBButton ttb = { sizeof(ttb) };
ttb.pszTooltipUp = ttb.name = LPGEN("Favorite Contacts");
@@ -121,7 +121,7 @@ int ProcessTBLoaded(WPARAM wParam, LPARAM lParam) return 0;
}
-int ProcessReloadFonts(WPARAM wParam, LPARAM lParam)
+int ProcessReloadFonts(WPARAM, LPARAM)
{
if (g_Options.hfntName) DeleteObject(g_Options.hfntName);
if (g_Options.hfntSecond) DeleteObject(g_Options.hfntSecond);
@@ -154,7 +154,7 @@ int ProcessReloadFonts(WPARAM wParam, LPARAM lParam) return 0;
}
-int ProcessModulesLoaded(WPARAM wParam, LPARAM lParam)
+int ProcessModulesLoaded(WPARAM, LPARAM)
{
HookEvent(ME_TTB_MODULELOADED, ProcessTBLoaded);
diff --git a/plugins/FavContacts/src/stdafx.cpp b/plugins/FavContacts/src/stdafx.cxx index 7e0216078c..6fb37564b7 100644 --- a/plugins/FavContacts/src/stdafx.cpp +++ b/plugins/FavContacts/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 "headers.h"
\ No newline at end of file +#include "stdafx.h"
\ No newline at end of file diff --git a/plugins/FavContacts/src/headers.h b/plugins/FavContacts/src/stdafx.h index 998412d18b..998412d18b 100644 --- a/plugins/FavContacts/src/headers.h +++ b/plugins/FavContacts/src/stdafx.h |