summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/delphi/m_fingerprint.inc
blob: 293cf78f08a160cd131d13cbc36a0321ccb44fce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
Based on Miranda plugin template, originally by Richard Hughes
http://miranda-icq.sourceforge.net/

Miranda IM: the free IM client for Microsoft Windows

Copyright 2000-2006 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.
}

{***********************************************************************
*  Author: Artem Shpynov aka FYR     mailto:shpynov@nm.ru
*  icons by Angeli-Ka
*  January 12, 2006
************************************************************************}

{$IFNDEF M_FINGERPRINT}
{$DEFINE M_FINGERPRINT}
//   FINGERPRINT PLUGIN SERVICES HEADER

const
{
  Service SameClients MS_FP_SAMECLIENTS
  wParam - TChar first MirVer value 
  lParam - TChar second MirVer value 
  return pointer to AnsiChar string - client desription (DO NOT DESTROY) if clients are same otherwise NULL
}
  MS_FP_SAMECLIENTS :PAnsiChar = 'Fingerprint/SameClients';
  MS_FP_SAMECLIENTSW:PAnsiChar = 'Fingerprint/SameClientsW';

{
  ServiceGetClientIcon MS_FP_GETCLIENTICON
  wParam - TChar MirVer value to get client for.
  lParam - int noCopy - if wParam is equal to "1"  will return icon handler without copiing icon.
}
  MS_FP_GETCLIENTICON :PAnsiChar = 'Fingerprint/GetClientIcon';
  MS_FP_GETCLIENTICONW:PAnsiChar = 'Fingerprint/GetClientIconW';

// Plugin UUIDs for New plugin loader
// req. 0.7.18+ core
const MIID_FINGERPRINT         :MUUID='{FFF4B77A-CE40-11DB-A5CD-06A755D89593}';
const MIID_FINGERPRINT_MOD     :MUUID='{BAC0BBBE-CE40-11DB-A11E-72A655D89593}';
const MIID_FINGERPRINT_FULL    :MUUID='{0AFE5BBB-CE62-11DB-8314-0800200C9A66}';
const MIID_FINGERPRINT_STANDARD:MUUID='{0AFE5ABC-CE62-11DB-8314-0800200C9A66}';
const MIID_FINGERPRINT_LITE    :MUUID='{0AFE5DEF-CE62-11DB-8314-0800200C9A66}';
const MIID_FINGERPRINT_CUSTOM  :MUUID='{0AFE5BAD-CE62-11DB-8314-0800200C9A66}';

{$ENDIF}