From af7e438cfe8ce85e1da234318ed1584e89d952cc Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 29 Jun 2012 05:38:03 +0000 Subject: only add some plugins and protocols, not adapted See please maybe not all need us git-svn-id: http://svn.miranda-ng.org/main/trunk@678 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ShlExt/inc/m_v8.inc | 62 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 plugins/ShlExt/inc/m_v8.inc (limited to 'plugins/ShlExt/inc/m_v8.inc') diff --git a/plugins/ShlExt/inc/m_v8.inc b/plugins/ShlExt/inc/m_v8.inc new file mode 100644 index 0000000000..e0c9d1e0c8 --- /dev/null +++ b/plugins/ShlExt/inc/m_v8.inc @@ -0,0 +1,62 @@ +(* + +Miranda IM: the free IM client for Microsoft* Windows* + +Copyright 2000-2004 Miranda ICQ/IM project, +all portions of this codebase are copyrighted to the people +listed in contributors.txt. + +This program is free software; you can redistribute it and/or +modify it under the terms of the GNU General Public License +as published by the Free Software Foundation; either version 2 +of the License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +*) +{$IFNDEF V8} +{$DEFINE V8} + +type + + PMUUID = ^TMUUID; + TMUUID = record + a: LongWord; + b, c: Word; + d: array[0..7] of Byte; + end; + + PPLUGININFOEX = ^TPLUGININFOEX; + TPLUGININFOEX = record + cbSize: int; + shortName: PChar; + version: DWORD; + description: PChar; + author: PChar; + authorEmail: PChar; + copyright: PChar; + homepage: PChar; + isTransient: Byte; // leave zero for now + { one of the DEFMOD_* consts in m_plugin or zero, if non zero, this will + suppress loading of the specified builtin module } + replacesDefaultModule: int; + uuid: TMUUID; + end; + + { any module must export the below functions to be valid plugin + the export names MUST be 'MirandaPluginInfo' 'Load' 'Unload' } + + // defined in newpluginapi.inc + + //TMirandaPluginInfo = function(mirandaVersion: DWORD): PPLUGININFO; cdecl; + //TLoad = function(link: PPLUGINLINK): int; cdecl; + //TUnload = function: int; cdecl; + +{$ENDIF} -- cgit v1.2.3