2012-07-10 12:34:58 -07:00
|
|
|
//
|
|
|
|
// DashboardViewController.h
|
|
|
|
// NewsBlur
|
|
|
|
//
|
|
|
|
// Created by Roy Yang on 7/10/12.
|
|
|
|
// Copyright (c) 2012 NewsBlur. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
|
|
@class NewsBlurAppDelegate;
|
2012-07-10 16:48:05 -07:00
|
|
|
@class ASIHTTPRequest;
|
2012-07-12 10:59:17 -07:00
|
|
|
@class InteractionsModule;
|
|
|
|
@class ActivityModule;
|
2012-07-10 12:34:58 -07:00
|
|
|
|
2012-07-12 00:10:42 -07:00
|
|
|
@interface DashboardViewController : UIViewController <UIPopoverControllerDelegate> {
|
2012-07-10 12:34:58 -07:00
|
|
|
NewsBlurAppDelegate *appDelegate;
|
2012-07-12 10:59:17 -07:00
|
|
|
|
|
|
|
InteractionsModule *interactionsModule;
|
|
|
|
ActivityModule *activitiesModule;
|
2012-07-10 12:34:58 -07:00
|
|
|
}
|
|
|
|
|
2012-07-15 15:06:06 -07:00
|
|
|
@property (nonatomic) IBOutlet NewsBlurAppDelegate *appDelegate;
|
|
|
|
@property (nonatomic) IBOutlet InteractionsModule *interactionsModule;
|
|
|
|
@property (nonatomic) IBOutlet ActivityModule *activitiesModule;
|
2012-07-10 12:34:58 -07:00
|
|
|
|
|
|
|
- (IBAction)doLogout:(id)sender;
|
2012-07-10 16:48:05 -07:00
|
|
|
- (void)refreshInteractions;
|
2012-07-11 18:08:07 -07:00
|
|
|
- (void)refreshActivity;
|
|
|
|
- (void)finishLoadActivities:(ASIHTTPRequest *)request;
|
2012-07-10 16:48:05 -07:00
|
|
|
- (void)requestFailed:(ASIHTTPRequest *)request;
|
2012-07-10 12:34:58 -07:00
|
|
|
@end
|