summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FTPFileYM/src')
-rw-r--r--plugins/FTPFileYM/src/common.h33
-rw-r--r--plugins/FTPFileYM/src/version.h6
2 files changed, 5 insertions, 34 deletions
diff --git a/plugins/FTPFileYM/src/common.h b/plugins/FTPFileYM/src/common.h
index 116c8ea9d3..d7a60e7566 100644
--- a/plugins/FTPFileYM/src/common.h
+++ b/plugins/FTPFileYM/src/common.h
@@ -38,50 +38,32 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WIN32_LEAN_AND_MEAN
#define _CRT_SECURE_NO_WARNINGS
-#include <stdlib.h>
#include <windows.h>
#include <commdlg.h>
-#include <commctrl.h>
#include <shellapi.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <time.h>
#include <uxtheme.h>
-#include <wininet.h>
#include <windowsx.h>
#include <shlobj.h>
-
-#ifdef _DEBUG
-#define _CRTDBG_MAP_ALLOC
-#include <crtdbg.h>
-#endif
-
#include <vector>
-#include <iostream>
using namespace std;
-#define MIRANDA_VER 0x0A00
#include <newpluginapi.h>
#include <m_button.h>
#include <m_clist.h>
-#include <m_clui.h>
#include <m_database.h>
-#include <m_fontservice.h>
#include <m_hotkeys.h>
#include <m_icolib.h>
#include <m_message.h>
#include <m_langpack.h>
#include <m_options.h>
-#include <m_popup.h>
#include <m_protosvc.h>
#include <m_skin.h>
-#include <m_system.h>
-#include <m_system_cpp.h>
-#include <m_utils.h>
#include <win2k.h>
+#include <m_ftpfile.h>
+#include <m_msg_buttonsbar.h>
+
#include "curl.h"
-#include "sys/stat.h"
#include "mir_db.h"
#include "utils.h"
@@ -96,25 +78,20 @@ using namespace std;
#include "job_upload.h"
#include "version.h"
#include "job_generic.h"
-
#include "resource.h"
-#include "m_ftpfile.h"
-#include "m_msg_buttonsbar.h"
#ifndef FREE
#define FREE(X) if (X) { mir_free(X); X = NULL; }
#endif
#ifdef _DEBUG
+#define _CRTDBG_MAP_ALLOC
+#define new DEBUG_CLIENTBLOCK
#define DEBUG_CLIENTBLOCK new( _CLIENT_BLOCK, __FILE__, __LINE__)
#else
#define DEBUG_CLIENTBLOCK
#endif
-#ifdef _DEBUG
-#define new DEBUG_CLIENTBLOCK
-#endif
-
#define MS_FTPFILE_SHAREFILE "FTPFile/ShareFiles"
#define MS_FTPFILE_CONTACTMENU "FTPFile/ContactMenu"
#define MS_FTPFILE_MAINMENU "FTPFile/MainMenu"
diff --git a/plugins/FTPFileYM/src/version.h b/plugins/FTPFileYM/src/version.h
index 8186e44083..1b24ffddbf 100644
--- a/plugins/FTPFileYM/src/version.h
+++ b/plugins/FTPFileYM/src/version.h
@@ -4,14 +4,8 @@
#define __BUILD_NUM 0
#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 "FTP File YM"
-#define __INTERNAL_NAME "FTPFile"
#define __FILENAME "FTPFile.dll"
#define __DESCRIPTION "FTP a file to a server and send the URL to your friend. Supported automatic zipping before upload and encryption via SFTP and FTPS."
#define __AUTHOR "yaho"