hostile-takeover/game/sdl/mac/mac.h
Nathan Fulton fff71efc11 SDL-OSX port improvements
- 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
2016-08-24 16:19:45 -04:00

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__