//
//  ViewController.h
//  SDKDemoForFramework
//
//  Created by Server on 13-4-17.
//  Copyright (c) 2013年 Server. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface ViewController : UIViewController<UITextFieldDelegate,UIAlertViewDelegate>
{
//DEMO 需要
    NSData *token_keyData;
    UIImageView *bgloginImageView;
    UIImageView *bgGanmeCenterImageView;
    UIButton *pploginButton;
    UISegmentedControl *changeAddressButton;
    
    UIView *propView;
    NSMutableArray *arrayName;
    NSMutableArray *arrayPrice;
    UITextField *customAddresTextField;
    
    
    //购买商品的价格
    NSString *_price;
    //购买商品的名称
    NSString *_name;
    NSMutableData *recvData;
    char token_key_ToStr[32];
    
    //NOTE ，显示状态
    UILabel * _showLabelForPropView;
    UILabel * _showLabelForBgloginImageView;
    
    //ＤＥＭＯ结束
}

//当前实例系统
+(ViewController*) shareInstace;

//DEMO用的
-(void)setPayList:(NSString*)paylist;
- (void) doLoginSuccess;
- (void) LogOff;
-(void) showPayview;
- (void) showPayView:(const char *)payList;

@end
