diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-03-02 20:12:51 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-03-02 20:12:51 +0000 |
commit | b2c26e66f54b87f2d2b035ad4a41c1f764ee38c6 (patch) | |
tree | d470f64ac4ff87cb11b7a16c70053efb1ad9d259 /plugins/Nudge/src | |
parent | 1ac26e41d1de88965131401356c37497bf899ded (diff) |
removed not used headers
added version info
git-svn-id: http://svn.miranda-ng.org/main/trunk@3856 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Nudge/src')
-rw-r--r-- | plugins/Nudge/src/Version.h | 14 | ||||
-rw-r--r-- | plugins/Nudge/src/headers.h | 56 | ||||
-rw-r--r-- | plugins/Nudge/src/main.cpp | 26 | ||||
-rw-r--r-- | plugins/Nudge/src/main.h | 31 | ||||
-rw-r--r-- | plugins/Nudge/src/nudge.cpp | 1 | ||||
-rw-r--r-- | plugins/Nudge/src/options.cpp | 5 | ||||
-rw-r--r-- | plugins/Nudge/src/shake.cpp | 3 |
7 files changed, 68 insertions, 68 deletions
diff --git a/plugins/Nudge/src/Version.h b/plugins/Nudge/src/Version.h new file mode 100644 index 0000000000..99a9c8c47f --- /dev/null +++ b/plugins/Nudge/src/Version.h @@ -0,0 +1,14 @@ +#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 0
+#define __RELEASE_NUM 2
+#define __BUILD_NUM 0
+
+#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+
+#define __PLUGIN_NAME "Nudge"
+#define __FILENAME "Nudge.dll"
+#define __DESCRIPTION "Plugin to shake the clist and chat window."
+#define __AUTHOR "Tweety/GouZ, FREAK_THEMIGHTY"
+#define __AUTHOREMAIL "francois.mean@skynet.be, Sylvain.gougouzian@gmail.com, wishmaster51@googlemail.com"
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT "© the miranda community"
diff --git a/plugins/Nudge/src/headers.h b/plugins/Nudge/src/headers.h index eb931c6da8..1cea468c1f 100644 --- a/plugins/Nudge/src/headers.h +++ b/plugins/Nudge/src/headers.h @@ -5,8 +5,6 @@ #define _CRT_SECURE_NO_WARNINGS
-#pragma once
-
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER // Allow use of features specific to Windows XP or later.
@@ -26,33 +24,35 @@ #endif
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
-// Windows Header Files:
#include <windows.h>
#include <commctrl.h>
#include <time.h>
-#define MIRANDA_VER 0x0A00
-#include <newpluginapi.h> //CallService,UnHookEvent
+#include <newpluginapi.h>
#include <m_clist.h>
#include <m_langpack.h>
-#include <m_system.h>
#include <m_popup.h>
#include <m_clui.h>
#include <m_message.h>
-#include <m_protocols.h>
#include <m_ignore.h>
#include <m_options.h>
#include <m_skin.h>
#include <m_database.h>
#include <m_protosvc.h>
-#include <m_trigger.h>
-#include <m_metacontacts.h>
#include <m_icolib.h>
#include <win2k.h>
-#include "resource.h"
-#include "m_nudge.h"
+#include <m_trigger.h>
+#include <m_metacontacts.h>
+#include <m_nudge.h>
+#include <m_msg_buttonsbar.h>
+
+#include "resource.h"
+#include "shake.h"
+#include "Version.h"
+#include "nudge.h"
+#include "options.h"
/*
*
@@ -67,4 +67,36 @@ int Preview(); /*
*
****************************/
-HANDLE Nudge_GethContact(HANDLE);
\ No newline at end of file +HANDLE Nudge_GethContact(HANDLE);
+
+/*
+*
+****************************/
+void Nudge_ShowPopup(CNudgeElement, HANDLE, TCHAR *);
+
+/*
+*
+****************************/
+void Nudge_ShowStatus(CNudgeElement, HANDLE, DWORD timestamp);
+
+/*
+*
+****************************/
+void Nudge_SentStatus(CNudgeElement, HANDLE);
+
+/*
+*
+****************************/
+void Nudge_AddAccount(PROTOACCOUNT *proto);
+
+/*
+*
+****************************/
+void LoadPopupClass();
+
+/*
+*
+****************************/
+void AutoResendNudge(void *wParam) ;
+
+extern CShake shake;
diff --git a/plugins/Nudge/src/main.cpp b/plugins/Nudge/src/main.cpp index 8d0f495101..d65f708f7f 100644 --- a/plugins/Nudge/src/main.cpp +++ b/plugins/Nudge/src/main.cpp @@ -1,8 +1,4 @@ #include "headers.h"
-#include "main.h"
-#include "shake.h"
-#include "m_msg_buttonsbar.h"
-
int nProtocol = 0;
static HANDLE g_hEventModulesLoaded = NULL, hEventOptionsInitialize = NULL, g_hEventDbWindowEvent = NULL, g_hEventToolbarLoaded = NULL, g_hEventButtonPressed = NULL, g_hEventAccountsChanged = NULL;
@@ -13,25 +9,23 @@ CNudgeElement DefaultNudge; CShake shake;
CNudge GlobalNudge;
-
-
int hLangpack = 0;
-
//========================
// MirandaPluginInfo
//========================
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
- "Nudge",
- PLUGIN_MAKE_VERSION(0,0,2,0),
- "Plugin to shake the clist and chat window.",
- "Tweety/GouZ, FREAK_THEMIGHTY",
- "francois.mean@skynet.be, Sylvain.gougouzian@gmail.com, wishmaster51@googlemail.com",
- "copyright to the miranda community",
- "http://miranda-ng.org/", // www
- UNICODE_AWARE, //doesn't replace anything built-in
- { 0xe47cc215, 0xd28, 0x462d, { 0xa0, 0xf6, 0x3a, 0xe4, 0x44, 0x3d, 0x29, 0x26 } } // {E47CC215-0D28-462D-A0F6-3AE4443D2926}
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
+ UNICODE_AWARE,
+ // {E47CC215-0D28-462D-A0F6-3AE4443D2926}
+ {0xe47cc215, 0xd28, 0x462d, {0xa0, 0xf6, 0x3a, 0xe4, 0x44, 0x3d, 0x29, 0x26}}
};
INT_PTR NudgeShowMenu(WPARAM wParam,LPARAM lParam)
diff --git a/plugins/Nudge/src/main.h b/plugins/Nudge/src/main.h deleted file mode 100644 index 556ee0070b..0000000000 --- a/plugins/Nudge/src/main.h +++ /dev/null @@ -1,31 +0,0 @@ -#include "nudge.h"
-
-/*
-*
-****************************/
-void Nudge_ShowPopup(CNudgeElement, HANDLE, TCHAR *);
-
-/*
-*
-****************************/
-void Nudge_ShowStatus(CNudgeElement, HANDLE, DWORD timestamp);
-
-/*
-*
-****************************/
-void Nudge_SentStatus(CNudgeElement, HANDLE);
-
-/*
-*
-****************************/
-void Nudge_AddAccount(PROTOACCOUNT *proto);
-
-/*
-*
-****************************/
-void LoadPopupClass();
-
-/*
-*
-****************************/
-void AutoResendNudge(void *wParam) ;
diff --git a/plugins/Nudge/src/nudge.cpp b/plugins/Nudge/src/nudge.cpp index 301827debb..9fb9d377e4 100644 --- a/plugins/Nudge/src/nudge.cpp +++ b/plugins/Nudge/src/nudge.cpp @@ -1,5 +1,4 @@ #include "headers.h"
-#include "nudge.h"
void CNudge::Save(void)
{
diff --git a/plugins/Nudge/src/options.cpp b/plugins/Nudge/src/options.cpp index 306e79e6f1..197a5006db 100644 --- a/plugins/Nudge/src/options.cpp +++ b/plugins/Nudge/src/options.cpp @@ -1,12 +1,7 @@ #include "headers.h"
-#include "main.h"
-#include "shake.h"
-#include "options.h"
CNudgeElement* ActualNudge = NULL;
-
-
int NudgeOptInit(WPARAM wParam,LPARAM lParam)
{
OPTIONSDIALOGPAGE odp = { 0 };
diff --git a/plugins/Nudge/src/shake.cpp b/plugins/Nudge/src/shake.cpp index f396c4f535..649646589f 100644 --- a/plugins/Nudge/src/shake.cpp +++ b/plugins/Nudge/src/shake.cpp @@ -1,7 +1,4 @@ #include "headers.h"
-#include "shake.h"
-
-extern CShake shake;
void CShake::Load(void)
{
|