cocoaTouch/GameSetup.h
author koda
Sat, 16 Jan 2010 17:30:37 +0000
changeset 2698 90585aba87ad
parent 2696 41aa7b56c17b
child 2702 48fc46a922fd
permissions -rw-r--r--
objc/pascal finally working hwengine becomes a library for the iphone use custom sdl_image to fix bug remove thread code and forward_argc/forward_argv

//
//  gameSetup.h
//  hwengine
//
//  Created by Vittorio on 10/01/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SDL_net.h"

@interface GameSetup : NSObject {
	NSString *localeString;
	NSDictionary *systemSettings;
	
	BOOL engineProtocolStarted;
	NSInteger ipcPort;
	TCPsocket sd, csd; // Socket descriptor, Client socket descriptor

}


@property (nonatomic, retain) NSString *localeString;
@property (retain) NSDictionary *systemSettings;

-(void) engineProtocol;
-(void) startThread: (NSString *)selector;
-(void) loadSettingsFromFile:(NSString *)fileName forKey:(NSString *)objName;
-(int)  sendToEngine: (NSString *)string;
-(void) unloadSettings;

@end