Remove unnecessary code and resources
[pithos-ios] / Classes / ASIAuthenticationDialog.h
1 //
2 //  ASIAuthenticationDialog.h
3 //  Part of ASIHTTPRequest -> http://allseeing-i.com/ASIHTTPRequest
4 //
5 //  Created by Ben Copsey on 21/08/2009.
6 //  Copyright 2009 All-Seeing Interactive. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import <UIKit/UIKit.h>
11 @class ASIHTTPRequest;
12
13 typedef enum _ASIAuthenticationType {
14         ASIStandardAuthenticationType = 0,
15     ASIProxyAuthenticationType = 1
16 } ASIAuthenticationType;
17
18 @interface ASIAutorotatingViewController : UIViewController
19 @end
20
21 @interface ASIAuthenticationDialog : ASIAutorotatingViewController <UIActionSheetDelegate, UITableViewDelegate, UITableViewDataSource> {
22         ASIHTTPRequest *request;
23         ASIAuthenticationType type;
24         UITableView *tableView;
25         UIViewController *presentingController;
26         BOOL didEnableRotationNotifications;
27 }
28 + (void)presentAuthenticationDialogForRequest:(ASIHTTPRequest *)request;
29 + (void)dismiss;
30
31 @property (retain) ASIHTTPRequest *request;
32 @property (assign) ASIAuthenticationType type;
33 @property (assign) BOOL didEnableRotationNotifications;
34 @property (retain, nonatomic) UIViewController *presentingController;
35 @end