summaryrefslogtreecommitdiff
path: root/plugins/MyDetails/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-03-02 13:53:57 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-03-02 13:53:57 +0000
commit448afa6ff83ad5beea924cf20d0943d9f9b5daad (patch)
tree657f25dd340094a7efb1cb64923d34e25af6e712 /plugins/MyDetails/src
parent87af1c64a8f5ecb4bbae81aa7a6f6c82f91c16b1 (diff)
removed not used headers
added version info git-svn-id: http://svn.miranda-ng.org/main/trunk@3837 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MyDetails/src')
-rw-r--r--plugins/MyDetails/src/Version.h14
-rw-r--r--plugins/MyDetails/src/commons.h44
-rw-r--r--plugins/MyDetails/src/data.cpp1
-rw-r--r--plugins/MyDetails/src/frame.cpp2
-rw-r--r--plugins/MyDetails/src/mydetails.cpp14
-rw-r--r--plugins/MyDetails/src/options.cpp1
6 files changed, 36 insertions, 40 deletions
diff --git a/plugins/MyDetails/src/Version.h b/plugins/MyDetails/src/Version.h
new file mode 100644
index 0000000000..11baa34a38
--- /dev/null
+++ b/plugins/MyDetails/src/Version.h
@@ -0,0 +1,14 @@
+#define __MAJOR_VERSION 0
+#define __MINOR_VERSION 0
+#define __RELEASE_NUM 1
+#define __BUILD_NUM 11
+
+#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
+
+#define __PLUGIN_NAME "My details"
+#define __FILENAME "MyDetails.dll"
+#define __DESCRIPTION "Shows and allows you to edit your details for all protocols."
+#define __AUTHOR "Ricardo Pescuma Domenecci, Drugwash"
+#define __AUTHOREMAIL ""
+#define __AUTHORWEB "http://miranda-ng.org/"
+#define __COPYRIGHT "© 2005-2008 Ricardo Pescuma Domenecci, Drugwash"
diff --git a/plugins/MyDetails/src/commons.h b/plugins/MyDetails/src/commons.h
index e80845995d..0b841a2206 100644
--- a/plugins/MyDetails/src/commons.h
+++ b/plugins/MyDetails/src/commons.h
@@ -24,44 +24,41 @@ Boston, MA 02111-1307, USA.
#define _CRT_SECURE_NO_WARNINGS
#define _WIN32_WINNT 0x0501
+
#include <windows.h>
-#include <win2k.h>
#include <commctrl.h>
-#include <stdio.h>
#include <newpluginapi.h>
-#include <m_clist.h>
#include <m_skin.h>
-#include <m_system.h>
-#include <m_system_cpp.h>
-#include <m_protocols.h>
#include <m_protosvc.h>
#include <m_database.h>
-#include <m_utils.h>
#include <m_langpack.h>
-#include <m_awaymsg.h>
#include <m_contacts.h>
#include <m_options.h>
#include <m_clui.h>
-#include <m_clc.h>
-#include <m_proto_listeningto.h>
-#include <m_listeningto.h>
-
#include <m_fontservice.h>
-#include <m_variables.h>
#include <m_avatars.h>
-#include <m_statusplugins.h>
#include <m_xstatus.h>
#include <m_icolib.h>
-#include "m_cluiframes.h"
-#include "m_simpleaway.h"
+#include <m_cluiframes.h>
+#include <win2k.h>
-#include <richedit.h>
+#include <m_proto_listeningto.h>
+#include <m_listeningto.h>
+#include <m_statusplugins.h>
+#include <m_simpleaway.h>
#include <m_smileyadd.h>
+#include <m_mydetails.h>
+#include <m_skin_eng.h>
-#include <io.h>
+#include "../utils/mir_smileys.h"
+#include "../utils/mir_options.h"
#include "resource.h"
+#include "Version.h"
+#include "data.h"
+#include "options.h"
+#include "frame.h"
#define MODULE_NAME "MyDetails"
@@ -69,22 +66,11 @@ Boston, MA 02111-1307, USA.
#define SETTING_DEFAULT_NICK "DefaultNick"
extern HINSTANCE hInst;
-
extern long nickname_dialog_open;
extern long status_msg_dialog_open;
-
extern bool g_bFramesExist;
-#include "m_mydetails.h"
-#include "data.h"
-#include "options.h"
-#include "frame.h"
-#include "../utils/mir_smileys.h"
-#include "../utils/mir_memory.h"
-#include "../utils/mir_options.h"
-
#define PS_GETMYAVATARMAXSIZE "/GetMyAvatarMaxSize"
-
#define PS_GETMYNICKNAMEMAXLENGTH "/GetMyNicknameMaxLength"
// See if a protocol service exists
diff --git a/plugins/MyDetails/src/data.cpp b/plugins/MyDetails/src/data.cpp
index 5bfa0fa797..fa9ebf2ae9 100644
--- a/plugins/MyDetails/src/data.cpp
+++ b/plugins/MyDetails/src/data.cpp
@@ -19,7 +19,6 @@ Boston, MA 02111-1307, USA.
#include "commons.h"
-#include "data.h"
static char *StatusModeToDbSetting(int status,const char *suffix);
diff --git a/plugins/MyDetails/src/frame.cpp b/plugins/MyDetails/src/frame.cpp
index b741c2fb4d..61a4f9d0c6 100644
--- a/plugins/MyDetails/src/frame.cpp
+++ b/plugins/MyDetails/src/frame.cpp
@@ -19,8 +19,6 @@ Boston, MA 02111-1307, USA.
#include "commons.h"
-#include <m_skin_eng.h>
-
// Prototypes /////////////////////////////////////////////////////////////////////////////////////
#define WINDOW_NAME_PREFIX "mydetails_window"
diff --git a/plugins/MyDetails/src/mydetails.cpp b/plugins/MyDetails/src/mydetails.cpp
index ac98f0d3fc..513f9c40ef 100644
--- a/plugins/MyDetails/src/mydetails.cpp
+++ b/plugins/MyDetails/src/mydetails.cpp
@@ -27,13 +27,13 @@ int hLangpack = 0;
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
- "My Details",
- PLUGIN_MAKE_VERSION(0,0,1,11),
- "Shows and allows you to edit your details for all protocols.",
- "Ricardo Pescuma Domenecci, Drugwash",
- "",
- "© 2005-2008 Ricardo Pescuma Domenecci, Drugwash",
- "http://miranda-ng.org/",
+ __PLUGIN_NAME,
+ PLUGIN_MAKE_VERSION(__MAJOR_VERSION, __MINOR_VERSION, __RELEASE_NUM, __BUILD_NUM),
+ __DESCRIPTION,
+ __AUTHOR,
+ __AUTHOREMAIL,
+ __COPYRIGHT,
+ __AUTHORWEB,
UNICODE_AWARE,
// {A82BAEB3-A33C-4036-B837-7803A5B6C2AB}
{0xa82baeb3, 0xa33c, 0x4036, {0xb8, 0x37, 0x78, 0x3, 0xa5, 0xb6, 0xc2, 0xab}}
diff --git a/plugins/MyDetails/src/options.cpp b/plugins/MyDetails/src/options.cpp
index fb293223a7..fad38ed23c 100644
--- a/plugins/MyDetails/src/options.cpp
+++ b/plugins/MyDetails/src/options.cpp
@@ -19,7 +19,6 @@ Boston, MA 02111-1307, USA.
#include "commons.h"
-#include "options.h"
// Prototypes /////////////////////////////////////////////////////////////////////////////////////