forked from mirrors/kolyah35-minecraft-pe-0.6.1
the whole game
This commit is contained in:
parent
816e9060b4
commit
f0617a5d22
2069 changed files with 581500 additions and 0 deletions
35
project/iosproj/minecraftpe/dialogs/BaseDialogController.h
Executable file
35
project/iosproj/minecraftpe/dialogs/BaseDialogController.h
Executable file
|
|
@ -0,0 +1,35 @@
|
|||
//
|
||||
// BaseDialogController.h
|
||||
// minecraftpe
|
||||
//
|
||||
// Created by rhino on 10/20/11.
|
||||
// Copyright 2011 Mojang. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
#import "IDialog.h"
|
||||
|
||||
@class minecraftpeViewController;
|
||||
|
||||
@interface BaseDialogController : UIViewController<IDialog>
|
||||
{
|
||||
int _status;
|
||||
std::vector<std::string> _strings;
|
||||
|
||||
minecraftpeViewController* _listener;
|
||||
}
|
||||
|
||||
// Interface
|
||||
-(void)addToView:(UIView*)parentView;
|
||||
-(int) getUserInputStatus;
|
||||
-(std::vector<std::string>)getUserInput;
|
||||
-(void)setListener:(minecraftpeViewController*)listener;
|
||||
|
||||
// Helpers
|
||||
-(void)setOk;
|
||||
-(void)setCancel;
|
||||
-(void)closeOk;
|
||||
-(void)closeCancel;
|
||||
-(void)addString:(std::string)s;
|
||||
|
||||
@end
|
||||
Loading…
Add table
Add a link
Reference in a new issue