//
//  AppDelegate.h
//  ConnectClient
//
//  Created by yjx0755 on 13-11-19.
//  Copyright (c) 2013年 Peergine. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ViewController;

@interface AppDelegate : UIResponder <UIApplicationDelegate>
{
    NSThread *m_Thread;
    int m_iTerm;
    
    unsigned int m_uInstID;
    unsigned int m_uSessID;
    
    char m_szDevID[128];
}

@property (strong, nonatomic) UIWindow *window;

@property (strong, nonatomic) ViewController *viewController;

-(void)cnntStart;
-(void)cnntStop;
-(void)cnntWrite:(NSString *)sData;

-(void)cnntMain:(id)pThis;
	
-(void)cnntCallback:(NSString *)sParam;

-(IBAction)btnClickConnect:(id)sender;
-(IBAction)btnClickDisconnect:(id)sender;
-(IBAction)btnClickSwitchOn:(id)sender;
-(IBAction)btnClickSwitchOff:(id)sender;

@end
