From f4b92c5c224f8aeffc8ffb9b372fc9b25bac2559 Mon Sep 17 00:00:00 2001 From: dartraiden Date: Sat, 17 Dec 2022 15:36:37 +0300 Subject: Mediawiki considers URLs with and without a trailing slash as different pages, see https://phabricator.wikimedia.org/T14703 --- plugins/FileAsMessage/src/stdafx.h | 118 ++++++++++++++++++------------------ plugins/FileAsMessage/src/version.h | 26 ++++---- 2 files changed, 72 insertions(+), 72 deletions(-) (limited to 'plugins/FileAsMessage/src') diff --git a/plugins/FileAsMessage/src/stdafx.h b/plugins/FileAsMessage/src/stdafx.h index 17a663aeb2..addd421329 100644 --- a/plugins/FileAsMessage/src/stdafx.h +++ b/plugins/FileAsMessage/src/stdafx.h @@ -1,59 +1,59 @@ -#pragma once - -#define _CRT_NONSTDC_NO_DEPRECATE - -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "dialog.h" -#include "resource.h" -#include "version.h" - -#define MAXBUFSIZE 4096 -#define SERVICE_TITLE LPGEN("File As Message") -#define MODULENAME "FileAsMessage" - -#define SERVICE_PREFIX "<%fAM-0023%>" - -#define NOPLUGIN_MESSAGE "If you see this \"garbage\", probably you have no \"fileAsMessage\" plugin installed, see https://miranda-ng.org/p/FileAsMessage/ for more information and download." - -struct CMPlugin : public PLUGIN -{ - CMPlugin(); - - int Load() override; - int Unload() override; -}; - -extern char *szServiceTitle; -extern char *szServicePrefix; -extern const ulong INITCRC; - -#define WM_FE_MESSAGE WM_USER+100 -#define WM_FE_STATUSCHANGE WM_USER+101 -#define WM_FE_SKINCHANGE WM_USER+102 - -extern MWindowList hFileList; -extern HANDLE hEventNewFile; - -extern HICON hIcons[5]; -extern IconItem iconList[]; - -ulong memcrc32(uchar *ptr, int size, ulong crc); -INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); +#pragma once + +#define _CRT_NONSTDC_NO_DEPRECATE + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "dialog.h" +#include "resource.h" +#include "version.h" + +#define MAXBUFSIZE 4096 +#define SERVICE_TITLE LPGEN("File As Message") +#define MODULENAME "FileAsMessage" + +#define SERVICE_PREFIX "<%fAM-0023%>" + +#define NOPLUGIN_MESSAGE "If you see this \"garbage\", probably you have no \"fileAsMessage\" plugin installed, see https://miranda-ng.org/p/FileAsMessage for more information and download." + +struct CMPlugin : public PLUGIN +{ + CMPlugin(); + + int Load() override; + int Unload() override; +}; + +extern char *szServiceTitle; +extern char *szServicePrefix; +extern const ulong INITCRC; + +#define WM_FE_MESSAGE WM_USER+100 +#define WM_FE_STATUSCHANGE WM_USER+101 +#define WM_FE_SKINCHANGE WM_USER+102 + +extern MWindowList hFileList; +extern HANDLE hEventNewFile; + +extern HICON hIcons[5]; +extern IconItem iconList[]; + +ulong memcrc32(uchar *ptr, int size, ulong crc); +INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); diff --git a/plugins/FileAsMessage/src/version.h b/plugins/FileAsMessage/src/version.h index 9f7a5f8488..ce8f2988df 100644 --- a/plugins/FileAsMessage/src/version.h +++ b/plugins/FileAsMessage/src/version.h @@ -1,13 +1,13 @@ -#define __MAJOR_VERSION 0 -#define __MINOR_VERSION 1 -#define __RELEASE_NUM 0 -#define __BUILD_NUM 1 - -#include - -#define __PLUGIN_NAME "File as message" -#define __FILENAME "FileAsMessage.dll" -#define __DESCRIPTION "File transfer by using the messaging services - as plain text." -#define __AUTHOR "Denis Stanishevskiy" -#define __AUTHORWEB "https://miranda-ng.org/p/FileAsMessage/" -#define __COPYRIGHT "© 2004 Denis Stanishevskiy" +#define __MAJOR_VERSION 0 +#define __MINOR_VERSION 1 +#define __RELEASE_NUM 0 +#define __BUILD_NUM 1 + +#include + +#define __PLUGIN_NAME "File as message" +#define __FILENAME "FileAsMessage.dll" +#define __DESCRIPTION "File transfer by using the messaging services - as plain text." +#define __AUTHOR "Denis Stanishevskiy" +#define __AUTHORWEB "https://miranda-ng.org/p/FileAsMessage" +#define __COPYRIGHT "© 2004 Denis Stanishevskiy" -- cgit v1.2.3