summaryrefslogtreecommitdiff
path: root/plugins/Watrack_MPD/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-08-01 20:34:40 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-08-01 20:34:40 +0000
commit467560928b83c1d6c405d2cbaf7127de65298ae7 (patch)
tree85f617eaf39ea118ee4da3eda2bb13988db11711 /plugins/Watrack_MPD/src
parentad5e273a04e89a45d41c87a6a21c6d6fd937ac43 (diff)
watrack_mpd: common project
git-svn-id: http://svn.miranda-ng.org/main/trunk@14797 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack_MPD/src')
-rwxr-xr-xplugins/Watrack_MPD/src/init.cpp2
-rwxr-xr-xplugins/Watrack_MPD/src/main.cpp2
-rwxr-xr-xplugins/Watrack_MPD/src/options.cpp2
-rw-r--r--plugins/Watrack_MPD/src/stdafx.cxx (renamed from plugins/Watrack_MPD/src/stdafx.cpp)2
-rwxr-xr-xplugins/Watrack_MPD/src/stdafx.h (renamed from plugins/Watrack_MPD/src/commonheaders.h)92
-rwxr-xr-xplugins/Watrack_MPD/src/utilities.cpp2
6 files changed, 50 insertions, 52 deletions
diff --git a/plugins/Watrack_MPD/src/init.cpp b/plugins/Watrack_MPD/src/init.cpp
index 2d50447cdd..7f7a1f5f9c 100755
--- a/plugins/Watrack_MPD/src/init.cpp
+++ b/plugins/Watrack_MPD/src/init.cpp
@@ -14,7 +14,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 "commonheaders.h"
+#include "stdafx.h"
HINSTANCE hInst;
BOOL bWatrackService = FALSE;
diff --git a/plugins/Watrack_MPD/src/main.cpp b/plugins/Watrack_MPD/src/main.cpp
index 567d1c00d7..4a157b7f5e 100755
--- a/plugins/Watrack_MPD/src/main.cpp
+++ b/plugins/Watrack_MPD/src/main.cpp
@@ -14,7 +14,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 "commonheaders.h"
+#include "stdafx.h"
HANDLE ghConnection;
HANDLE ghPacketReciever;
diff --git a/plugins/Watrack_MPD/src/options.cpp b/plugins/Watrack_MPD/src/options.cpp
index 2e40d2f098..5ce485d475 100755
--- a/plugins/Watrack_MPD/src/options.cpp
+++ b/plugins/Watrack_MPD/src/options.cpp
@@ -14,7 +14,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 "commonheaders.h"
+#include "stdafx.h"
static INT_PTR CALLBACK DlgProcWaMpdOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
diff --git a/plugins/Watrack_MPD/src/stdafx.cpp b/plugins/Watrack_MPD/src/stdafx.cxx
index 048b14e9d2..6fb37564b7 100644
--- a/plugins/Watrack_MPD/src/stdafx.cpp
+++ b/plugins/Watrack_MPD/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 "commonheaders.h" \ No newline at end of file
+#include "stdafx.h" \ No newline at end of file
diff --git a/plugins/Watrack_MPD/src/commonheaders.h b/plugins/Watrack_MPD/src/stdafx.h
index 6accba7365..c35bd05288 100755
--- a/plugins/Watrack_MPD/src/commonheaders.h
+++ b/plugins/Watrack_MPD/src/stdafx.h
@@ -1,48 +1,46 @@
-// Copyright © 2008 sss, chaos.persei
-//
-// 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; either version 2
-// of the License, or (at your option) any later version.
-//
-// 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, write to the Free Software
-// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#ifndef COMMONHEADERS_H
-#define COMMONHEADERS_H
-
-#define _CRT_SECURE_NO_WARNINGS
-
-#include <windows.h>
-
-#include <newpluginapi.h>
+// Copyright © 2008 sss, chaos.persei
+//
+// 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; either version 2
+// of the License, or (at your option) any later version.
+//
+// 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, write to the Free Software
+// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+#ifndef COMMONHEADERS_H
+#define COMMONHEADERS_H
+
+#include <windows.h>
+
+#include <newpluginapi.h>
#include <m_database.h>
-#include <m_netlib.h>
-#include <m_utils.h>
-#include <m_options.h>
-#include <m_langpack.h>
-
-#include <m_music.h>
-
-#include "resource.h"
-#include "utilities.h"
-#include "Version.h"
-
-#define szModuleName "Watrack_MPD"
-
-extern HINSTANCE hInst;
-extern HANDLE ghNetlibUser;
-extern BOOL bWatrackService;
-extern TCHAR *gbHost, *gbPassword;
-extern WORD gbPort;
-extern char *date();
-
-extern int WaMpdOptInit(WPARAM, LPARAM);
-extern void RegisterPlayer();
-
-#endif
+#include <m_netlib.h>
+#include <m_utils.h>
+#include <m_options.h>
+#include <m_langpack.h>
+
+#include <m_music.h>
+
+#include "resource.h"
+#include "utilities.h"
+#include "Version.h"
+
+#define szModuleName "Watrack_MPD"
+
+extern HINSTANCE hInst;
+extern HANDLE ghNetlibUser;
+extern BOOL bWatrackService;
+extern TCHAR *gbHost, *gbPassword;
+extern WORD gbPort;
+extern char *date();
+
+extern int WaMpdOptInit(WPARAM, LPARAM);
+extern void RegisterPlayer();
+
+#endif
diff --git a/plugins/Watrack_MPD/src/utilities.cpp b/plugins/Watrack_MPD/src/utilities.cpp
index 1375cc2bc1..735c5f121a 100755
--- a/plugins/Watrack_MPD/src/utilities.cpp
+++ b/plugins/Watrack_MPD/src/utilities.cpp
@@ -15,7 +15,7 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-#include "commonheaders.h"
+#include "stdafx.h"
TCHAR* __stdcall UniGetContactSettingUtf(MCONTACT hContact, const char *szModule,const char* szSetting, TCHAR* szDef)
{