summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/cocoaint/src/appkit/NSSpellProtocol.inc
blob: f690729595bf4a2e2eb10e2d32eb9c428168803a (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
{ Parsed from Appkit.framework NSSpellProtocol.h }

{$ifdef TYPES}
{$ifndef NSSPELLPROTOCOL_PAS_T}
{$define NSSPELLPROTOCOL_PAS_T}

{$endif}
{$endif}

{$ifdef RECORDS}
{$ifndef NSSPELLPROTOCOL_PAS_R}
{$define NSSPELLPROTOCOL_PAS_R}

{$endif}
{$endif}

{$ifdef FUNCTIONS}
{$ifndef NSSPELLPROTOCOL_PAS_F}
{$define NSSPELLPROTOCOL_PAS_F}

{$endif}
{$endif}

{$ifdef EXTERNAL_SYMBOLS}
{$ifndef NSSPELLPROTOCOL_PAS_S}
{$define NSSPELLPROTOCOL_PAS_S}

{$endif}
{$endif}

{$ifdef FORWARD}
  NSChangeSpellingProtocol = objcprotocol;
  NSIgnoreMisspelledWordsProtocol = objcprotocol;

{$endif}
{$ifdef PROTOCOLS}
{$ifndef NSSPELLPROTOCOL_PAS_P}
{$define NSSPELLPROTOCOL_PAS_P}
  
{ NSChangeSpelling Protocol }
  NSChangeSpellingProtocol = objcprotocol external name 'NSChangeSpelling'
    procedure changeSpelling(sender: id); message 'changeSpelling:';
  end;
  
{ NSIgnoreMisspelledWords Protocol }
  NSIgnoreMisspelledWordsProtocol = objcprotocol external name 'NSIgnoreMisspelledWords'
    procedure ignoreSpelling(sender: id); message 'ignoreSpelling:';
  end;
{$endif}
{$endif}