mirror of
https://github.com/thes3m/XNI
synced 2024-12-26 13:26:06 +01:00
Adding Game Center classes skeletons. git-svn-id: http://xni.googlecode.com/svn/XNI@62 ac433895-eea3-a490-d80a-17149a75e588
42 lines
1.3 KiB
Objective-C
42 lines
1.3 KiB
Objective-C
//
|
|
// Guide.h
|
|
// XNI
|
|
//
|
|
// Created by Matej Jan on 7.12.10.
|
|
// Copyright 2010 Retronator. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <GameKit/GameKit.h>
|
|
|
|
#import "Retronator.Xni.Framework.classes.h"
|
|
#import "Retronator.Xni.Framework.GamerServices.classes.h"
|
|
#import "System.h"
|
|
|
|
@interface Guide : NSObject <GKAchievementViewControllerDelegate, GKLeaderboardViewControllerDelegate> {
|
|
Game *game;
|
|
BOOL isVisible;
|
|
NotificationPosition notificationPosition;
|
|
|
|
NSMutableSet *messageBoxResults;
|
|
}
|
|
|
|
@property (nonatomic) BOOL isVisible;
|
|
@property (nonatomic) NotificationPosition notificationPosition;
|
|
|
|
+ (void) showAchievements;
|
|
+ (void) showLeaderboard;
|
|
+ (id<IAsyncResult>) beginShowMessageBoxWithTitle:(NSString*)title text:(NSString*)text buttons:(NSArray*)buttons focusButton:(int)focusButton
|
|
icon:(MessageBoxIcon)icon callback:(Delegate*)callback state:(id)state;
|
|
+ (NSNumber *) endShowMessageBox:(id<IAsyncResult>)result;
|
|
|
|
+ (Guide*) getInstance;
|
|
|
|
- (void) showAchievements;
|
|
- (void) showLeaderboard;
|
|
- (id<IAsyncResult>) beginShowMessageBoxWithTitle:(NSString*)title text:(NSString*)text buttons:(NSArray*)buttons focusButton:(int)focusButton
|
|
icon:(MessageBoxIcon)icon callback:(Delegate*)callback state:(id)state;
|
|
- (NSNumber *) endShowMessageBox:(id<IAsyncResult>)result;
|
|
|
|
@end
|