Plugins/Purple Service/AIFacebookXMPPAccount.h
branchadium-1.5.11
changeset 6014 fcb71cb71a3d
parent 5941 307f53385811
parent 6013 f8d0dc659e3f
child 6016 325e2ab3406f
--- a/Plugins/Purple Service/AIFacebookXMPPAccount.h	Sun Sep 04 21:31:36 2016 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,57 +0,0 @@
-//
-//  AIFacebookXMPPAccount.h
-//  Adium
-//
-//  Created by Colin Barrett on 11/18/10.
-//  Copyright 2010 __MyCompanyName__. All rights reserved.
-//
-
-#import "CBPurpleAccount.h"
-
-@class AIFacebookXMPPOAuthWebViewWindowController;
-
-#define ADIUM_APP_ID "164063256994618"
-#define ADIUM_API_KEY "add7b04ecedcd84645f3c32e7884682d"
-
-/* deprecated? This is called the 'App Secret' on Facebook's developer page.  */
-#define ADIUM_API_SECRET "bb9d2d9771790e69a0e943771ddf33c8"
-
-#define AIFacebookXMPPAuthProgressNotification @"AIFacebookXMPPAuthProgressNotification"
-#define KEY_FB_XMPP_AUTH_STEP @"AuthStep"
-
-typedef enum {
-	AIFacebookXMPPAuthProgressPromptingUser,
-	AIFacebookXMPPAuthProgressContactingServer,
-	AIFacebookXMPPAuthProgressPromotingForChat,
-	AIFacebookXMPPAuthProgressSuccess,
-	AIFacebookXMPPAuthProgressFailure
-} AIFacebookXMPPAuthProgressStep;
-
-
-@interface AIFacebookXMPPAccount : CBPurpleAccount {
-	AIFacebookXMPPOAuthWebViewWindowController *oAuthWC;
-    
-    NSString *oAuthToken;
-    NSUInteger networkState;
-    
-    NSURLConnection *connection; // weak
-    NSURLResponse *connectionResponse;
-    NSMutableData *connectionData;
-	
-	NSDictionary *migrationData;
-}
-
-+ (BOOL)uidIsValidForFacebook:(NSString *)inUID;
-
-@property (nonatomic, retain) AIFacebookXMPPOAuthWebViewWindowController *oAuthWC;
-- (void)requestFacebookAuthorization;
-
-- (void)oAuthWebViewController:(AIFacebookXMPPOAuthWebViewWindowController *)wc didSucceedWithToken:(NSString *)token;
-- (void)oAuthWebViewControllerDidFail:(AIFacebookXMPPOAuthWebViewWindowController *)wc;
-
-@property (nonatomic, retain) NSDictionary *migrationData;
-@end
-
-@interface AIFacebookXMPPAccount (ForSubclasses)
-- (void)didCompleteFacebookAuthorization;
-@end