summaryrefslogtreecommitdiff
path: root/packages/cocoaint/src/gamekit/GKTurnBasedMatchmakerViewController.inc
blob: 1e1a8d9cb1b4f83a0a1f016e16c636c254befac6 (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
{ Parsed from GameKit.framework GKTurnBasedMatchmakerViewController.h }


{$ifdef TYPES}
type
  GKTurnBasedMatchmakerViewControllerPtr = ^GKTurnBasedMatchmakerViewController;
  GKTurnBasedMatchmakerViewControllerDelegateProtocolPtr = ^GKTurnBasedMatchmakerViewControllerDelegateProtocol;
{$endif}

{$ifdef CLASSES}
type
  GKTurnBasedMatchmakerViewController = objcclass external (NSViewController, GKViewControllerProtocol)
  private
    _remoteViewController: id;
    _turnBasedMatchmakerDelegateWeak: GKTurnBasedMatchmakerViewControllerDelegateProtocol;
    _matchRequest: GKMatchRequest;
    _showExistingMatches: ObjCBOOL;
  public
    procedure setTurnBasedMatchmakerDelegate(newValue: GKTurnBasedMatchmakerViewControllerDelegateProtocol); message 'setTurnBasedMatchmakerDelegate:';
    function turnBasedMatchmakerDelegate: GKTurnBasedMatchmakerViewControllerDelegateProtocol; message 'turnBasedMatchmakerDelegate';
    procedure setShowExistingMatches(newValue: ObjCBOOL); message 'setShowExistingMatches:';
    function showExistingMatches: ObjCBOOL; message 'showExistingMatches';
    function initWithMatchRequest (request: GKMatchRequest): id; message 'initWithMatchRequest:';
  end;
{$endif}

{$ifdef PROTOCOLS}

type
  GKTurnBasedMatchmakerViewControllerDelegateProtocol = objcprotocol external name 'GKTurnBasedMatchmakerViewControllerDelegate' (NSObjectProtocol)
  required
    procedure turnBasedMatchmakerViewControllerWasCancelled (viewController: GKTurnBasedMatchmakerViewController); message 'turnBasedMatchmakerViewControllerWasCancelled:'; { available in 10_8, 5_0 }
    procedure turnBasedMatchmakerViewController_didFailWithError (viewController: GKTurnBasedMatchmakerViewController; error: NSError); message 'turnBasedMatchmakerViewController:didFailWithError:'; { available in 10_8, 5_0 }
    procedure turnBasedMatchmakerViewController_didFindMatch (viewController: GKTurnBasedMatchmakerViewController; match: GKTurnBasedMatch); message 'turnBasedMatchmakerViewController:didFindMatch:'; { available in 10_8, 5_0 }
    procedure turnBasedMatchmakerViewController_playerQuitForMatch (viewController: GKTurnBasedMatchmakerViewController; match: GKTurnBasedMatch); message 'turnBasedMatchmakerViewController:playerQuitForMatch:'; { available in 10_8, 5_0 }
  end;
{$endif}