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


{$ifdef TYPES}
type
  GKFriendRequestComposeViewControllerPtr = ^GKFriendRequestComposeViewController;
  GKFriendRequestComposeViewControllerDelegateProtocolPtr = ^GKFriendRequestComposeViewControllerDelegateProtocol;
{$endif}

{$ifdef CLASSES}

type
  GKFriendRequestComposeViewController = objcclass external (NSViewController, GKViewControllerProtocol)
  private
    _remoteViewController: id;
    _composeViewDelegateWeak: GKFriendRequestComposeViewControllerDelegateProtocol;
    _initialState: id;
  public
    class function maxNumberOfRecipients: NSUInteger; message 'maxNumberOfRecipients';
    procedure setMessage (message_: NSString); message 'setMessage:';
    procedure addRecipientPlayers (players: NSArray); message 'addRecipientPlayers:'; { available in 10_10, 8_0 }
    procedure addRecipientsWithPlayerIDs (playerIDs: NSArray); message 'addRecipientsWithPlayerIDs:'; deprecated 'in 10_8, 10_10, 4_2, 8_0, "use addRecipientPlayers:"';
    procedure addRecipientsWithEmailAddresses (emailAddresses: NSArray); message 'addRecipientsWithEmailAddresses:';
    procedure setComposeViewDelegate(newValue: GKFriendRequestComposeViewControllerDelegateProtocol); message 'setComposeViewDelegate:';
    function composeViewDelegate: GKFriendRequestComposeViewControllerDelegateProtocol; message 'composeViewDelegate';
  end;
{$endif}

{$ifdef PROTOCOLS}

type
  GKFriendRequestComposeViewControllerDelegateProtocol = objcprotocol external name 'GKFriendRequestComposeViewControllerDelegate'
    procedure friendRequestComposeViewControllerDidFinish (viewController: GKFriendRequestComposeViewController); message 'friendRequestComposeViewControllerDidFinish:'; { available in 10_8, 4_2 }
  end;
{$endif}