mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-02 22:42:45 +08:00
28 lines
662 B
Objective-C
28 lines
662 B
Objective-C
//
|
|
// DBAuthenticatedTableViewController.h
|
|
// DiscussionBoard
|
|
//
|
|
// Created by Jeremy Ellison on 1/10/11.
|
|
// Copyright 2011 Two Toasters. All rights reserved.
|
|
//
|
|
|
|
#import <Three20/Three20.h>
|
|
#import "DBUser.h"
|
|
#import "DBLoginOrSignUpViewController.h"
|
|
|
|
@interface DBAuthenticatedTableViewController : TTTableViewController <DBLoginOrSignupViewControllerDelegate> {
|
|
DBUser* _requiredUser;
|
|
}
|
|
|
|
/**
|
|
* The User who we must be logged in as to edit the specified content
|
|
*/
|
|
@property (nonatomic, retain) DBUser* requiredUser;
|
|
|
|
/**
|
|
* Presents the Login controller if the current User is not authenticated
|
|
*/
|
|
- (void)presentLoginViewControllerIfNecessary;
|
|
|
|
@end
|