Source

ios_ezcomet_api / ezcomet_api / example / DemoViewController.h

Full commit
//
//  DemoViewController.h
//  ezcomet_api
//
//  Created by Chung-Che Hsieh on 12/7/30.
//  Copyright (c) 2012年 a761007@gmail.com. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EZComet.h"

@interface DemoViewController : UIViewController <EZCometDelegate>

@property (nonatomic, retain) IBOutlet UITextField *username;
@property (nonatomic, retain) IBOutlet UITextField *channel;
@property (nonatomic, retain) IBOutlet UITextField *message;
@property (nonatomic, retain) IBOutlet UIButton *pushMessageButton;
@property (nonatomic, retain) IBOutlet UIButton *getMessagesButton;
@property (nonatomic, retain) IBOutlet UIButton *flushMessagesButton;

- (IBAction)pushMessage:(id)sender;
- (IBAction)getMessages:(id)sender;
- (IBAction)flushMessages:(id)sender;

@end