topical media & game development

talk show tell print

#mobile-application-10-DerbyApp-build-iphone-Classes-ASI-ASIAuthenticationDialog.h / h



  //
  //  ASIAuthenticationDialog.h
  //  Part of ASIHTTPRequest -> http://allseeing-i.com/ASIHTTPRequest
  //
  //  Created by Ben Copsey on 21/08/2009.
  //  Copyright 2009 All-Seeing Interactive. All rights reserved.
  //
  
  #import <Foundation/Foundation.h>
  
  
  typedef enum _ASIAuthenticationType {
          ASIStandardAuthenticationType = 0,
      ASIProxyAuthenticationType = 1
  } ASIAuthenticationType;
          
  @interface ASIAuthenticationDialog : NSObject <UIActionSheetDelegate, UITableViewDelegate, UITableViewDataSource> {
          ASIHTTPRequest *request;
          UIActionSheet *loginDialog;
          ASIAuthenticationType type;
  }
  + (void)presentAuthenticationDialogForRequest:(ASIHTTPRequest *)request;
  + (void)presentProxyAuthenticationDialogForRequest:(ASIHTTPRequest *)request;
  
  @property (retain) ASIHTTPRequest *request;
  @property (retain) UIActionSheet *loginDialog;
  @property (assign) ASIAuthenticationType type;
  @end
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.