diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-03-03 11:25:35 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-03-03 11:25:35 +0000 |
commit | 22f041cb647f9c765004d3295d5a57a7220f55f0 (patch) | |
tree | e1051d19ee3d4cd334088a6bbd3657f9d212618f /plugins/PasteIt/src | |
parent | 7b282524fe2768851dd857223a7ff243d160362a (diff) |
removed not used headers
projects cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@3868 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PasteIt/src')
-rw-r--r-- | plugins/PasteIt/src/Options.cpp | 9 | ||||
-rw-r--r-- | plugins/PasteIt/src/PasteIt.cpp | 10 | ||||
-rw-r--r-- | plugins/PasteIt/src/PasteToWeb.cpp | 5 | ||||
-rw-r--r-- | plugins/PasteIt/src/PasteToWeb1.cpp | 2 | ||||
-rw-r--r-- | plugins/PasteIt/src/PasteToWeb2.cpp | 1 | ||||
-rw-r--r-- | plugins/PasteIt/src/stdafx.h | 26 | ||||
-rw-r--r-- | plugins/PasteIt/src/targetver.h | 8 | ||||
-rw-r--r-- | plugins/PasteIt/src/version.h | 10 |
8 files changed, 17 insertions, 54 deletions
diff --git a/plugins/PasteIt/src/Options.cpp b/plugins/PasteIt/src/Options.cpp index 5552ac0d6a..6fc6439e40 100644 --- a/plugins/PasteIt/src/Options.cpp +++ b/plugins/PasteIt/src/Options.cpp @@ -17,17 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "StdAfx.h"
-#include "Options.h"
-#include "resource.h"
-#include "PasteToWeb.h"
-#include "PasteToWeb1.h"
-
-extern HINSTANCE hInst;
-
-#define MODULE "PasteIt"
Options *Options::instance;
-extern PasteToWeb* pasteToWebs[PasteToWeb::pages];
struct TCpTable {
UINT cpId;
diff --git a/plugins/PasteIt/src/PasteIt.cpp b/plugins/PasteIt/src/PasteIt.cpp index 2386c96302..37781aee6d 100644 --- a/plugins/PasteIt/src/PasteIt.cpp +++ b/plugins/PasteIt/src/PasteIt.cpp @@ -17,18 +17,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "stdafx.h"
-#include "PasteToWeb1.h"
-#include "PasteToWeb2.h"
-#include "version.h"
-#include "resource.h"
-#include "Options.h"
-
PasteToWeb* pasteToWebs[PasteToWeb::pages];
std::map<HANDLE, HWND>* contactWindows;
DWORD gMirandaVersion;
-extern HINSTANCE hInst;
HANDLE hModulesLoaded, hTabsrmmButtonPressed;
HANDLE g_hNetlibUser;
HANDLE hPrebuildContactMenu;
@@ -39,7 +32,6 @@ HANDLE hOptionsInit; HANDLE hWindowEvent = NULL;
HINSTANCE hInst;
-#define MODULE "PasteIt"
#define FROM_CLIPBOARD 10
#define FROM_FILE 11
#define DEF_PAGES_START 20
@@ -56,7 +48,7 @@ PLUGININFOEX pluginInfo={ __AUTHORWEB,
UNICODE_AWARE,
// {1AAC15E8-DCEC-4050-B66F-2AA0E6120C22}
- { 0x1aac15e8, 0xdcec, 0x4050, { 0xb6, 0x6f, 0x2a, 0xa0, 0xe6, 0x12, 0xc, 0x22 } }
+ {0x1aac15e8, 0xdcec, 0x4050, {0xb6, 0x6f, 0x2a, 0xa0, 0xe6, 0x12, 0xc, 0x22}}
};
static IconItem icon = { LPGEN("Paste It"), "PasteIt_main", IDI_MENU };
diff --git a/plugins/PasteIt/src/PasteToWeb.cpp b/plugins/PasteIt/src/PasteToWeb.cpp index a7cc9a3b5f..fa251a22f0 100644 --- a/plugins/PasteIt/src/PasteToWeb.cpp +++ b/plugins/PasteIt/src/PasteToWeb.cpp @@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "StdAfx.h"
-#include "PasteToWeb.h"
-#include "Options.h"
-#include "resource.h"
-
-extern HINSTANCE hInst;
PasteToWeb::PasteToWeb()
{
diff --git a/plugins/PasteIt/src/PasteToWeb1.cpp b/plugins/PasteIt/src/PasteToWeb1.cpp index bbdc2e1ba5..b768a15b25 100644 --- a/plugins/PasteIt/src/PasteToWeb1.cpp +++ b/plugins/PasteIt/src/PasteToWeb1.cpp @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "StdAfx.h"
-#include "PasteToWeb1.h"
-#include "Options.h"
PasteFormat PasteToWeb1::formats[] =
{
diff --git a/plugins/PasteIt/src/PasteToWeb2.cpp b/plugins/PasteIt/src/PasteToWeb2.cpp index c2edbddeef..b8bc45e331 100644 --- a/plugins/PasteIt/src/PasteToWeb2.cpp +++ b/plugins/PasteIt/src/PasteToWeb2.cpp @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "StdAfx.h"
-#include "PasteToWeb2.h"
PasteFormat PasteToWeb2::defFormats[] =
{
diff --git a/plugins/PasteIt/src/stdafx.h b/plugins/PasteIt/src/stdafx.h index 2be1eff36d..75006155b0 100644 --- a/plugins/PasteIt/src/stdafx.h +++ b/plugins/PasteIt/src/stdafx.h @@ -5,9 +5,8 @@ #pragma once
-#include "targetver.h"
-
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
+
// Windows Header Files:
#include <windows.h>
#include <winsock.h>
@@ -15,28 +14,31 @@ #include <commdlg.h>
#include <windowsx.h>
#include <time.h>
-
-#include <tchar.h>
#include <string>
#include <map>
#include <list>
-#define MIRANDA_VER 0x0A00
-
#include <newpluginapi.h>
#include <m_clist.h>
-#include <m_skin.h>
#include <m_langpack.h>
-#include <m_system.h>
-#include <m_utils.h>
#include <m_netlib.h>
#include <m_xml.h>
#include <m_message.h>
#include <m_protosvc.h>
-#include <m_icolib.h>
#include <m_options.h>
#include <m_database.h>
#include <m_chat.h>
-#include <m_protoint.h>
-#include "m_msg_buttonsbar.h"
+#include <m_msg_buttonsbar.h>
+
+#include "PasteToWeb.h"
+#include "PasteToWeb1.h"
+#include "PasteToWeb2.h"
+#include "version.h"
+#include "resource.h"
+#include "Options.h"
+
+extern HINSTANCE hInst;
+extern PasteToWeb* pasteToWebs[PasteToWeb::pages];
+
+#define MODULE "PasteIt"
diff --git a/plugins/PasteIt/src/targetver.h b/plugins/PasteIt/src/targetver.h deleted file mode 100644 index 90e767bfce..0000000000 --- a/plugins/PasteIt/src/targetver.h +++ /dev/null @@ -1,8 +0,0 @@ -#pragma once
-
-// Including SDKDDKVer.h defines the highest available Windows platform.
-
-// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and
-// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
-
-#include <SDKDDKVer.h>
diff --git a/plugins/PasteIt/src/version.h b/plugins/PasteIt/src/version.h index 8a06c8b4c7..d449664f18 100644 --- a/plugins/PasteIt/src/version.h +++ b/plugins/PasteIt/src/version.h @@ -4,17 +4,11 @@ #define __BUILD_NUM 3
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
-#define __FILEVERSION_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
-#define __STRINGIFY_IMPL(x) #x
-#define __STRINGIFY(x) __STRINGIFY_IMPL(x)
-#define __VERSION_STRING __STRINGIFY(__FILEVERSION_DOTS)
-
-#define __PLUGIN_NAME "Paste It"
-#define __INTERNAL_NAME "PasteIt"
+#define __PLUGIN_NAME "Paste it"
#define __FILENAME "PasteIt.dll"
#define __DESCRIPTION "Uploads the text to web page and sends the URL to your friends."
#define __AUTHOR "Krzysztof Kral"
#define __AUTHOREMAIL "programista@poczta.of.pl"
#define __AUTHORWEB "http://miranda-ng.org/"
-#define __COPYRIGHT "Copyright (c) 2011 KrzysztofKral"
+#define __COPYRIGHT "© 2011 KrzysztofKral"
|