mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-04-06 18:41:27 -06:00
- Add chatroom - Add string input - Update main() to support SDL2 - Change game files location to ~/Library/ApplicationSupport/HostileTakeover - Open URLs with OS’s default browser - Use Xcode default C/C++Objective-C compiler - Remove game/sdl/mac/SDL.framework - Use game/sdl/SDL2/osx/SDL2.framework
21 lines
501 B
Objective-C
21 lines
501 B
Objective-C
#ifndef __MAC_H__
|
|
#define __MAC_H__
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@class InputController;
|
|
@class ChatViewController;
|
|
|
|
@interface Mac : NSObject {
|
|
wi::IChatController *m_pchat;
|
|
InputController *inputController;
|
|
ChatViewController *chatViewController;
|
|
}
|
|
|
|
- (void)initiateAsk:(NSString *)title maxCharacters:(int)max defaultString:(NSString *)def keyboard:(int)keyboard secure:(BOOL)secure;
|
|
- (NSString *)askString;
|
|
- (wi::IChatController *)getChatController;
|
|
@end
|
|
|
|
#endif // __MAC_H__
|