adium/adium

Started working on OAuth2 support for GTalk.
GTalkOAuth2Support
2012-09-18, Thijs Alkemade
a761745f82a1
Started working on OAuth2 support for GTalk.

Abstracted the OAuth2 support of Facebook into a separate AIPurpleOAuthJabberAccount.

Logging in on GTalk gets to the auth token.

Refs #16161
/*
* Adium is the legal property of its developers, whose names are listed in the copyright file included
* with this source distribution.
*
* This program is free software; you can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation; either version 2 of the License,
* or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
* Public License for more details.
*
* You should have received a copy of the GNU General Public License along with this program; if not,
* write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#define PREF_GROUP_APPEARANCE @"Appearance"
#define KEY_GROUP_CHAT_STATUS_ICONS @"Group Chat Status Icons"
#define EXTENSION_GROUP_CHAT_STATUS_ICONS @"AdiumGroupChatStatusIcons"
#define RESOURCE_GROUP_CHAT_STATUS_ICONS @"Group Chat Status Icons"
#define KEY_COLORS_DICT @"Colors"
#define KEY_ICONS_DICT @"Icons"
#define FOUNDER @"Founder"
#define OP @"Op"
#define HOP @"Half-op"
#define VOICE @"Voice"
#define NONE @"None"
#import <Adium/AIListObject.h>
#import <Adium/AIXtraInfo.h>
@interface AIGroupChatStatusIcons : AIXtraInfo {
NSMutableDictionary *icons;
NSMutableDictionary *colors;
NSDictionary *iconInfo;
NSDictionary *colorInfo;
}
+ (AIGroupChatStatusIcons *)sharedIcons;
- (NSImage *)imageForFlag:(AIGroupChatFlags)flag;
- (NSColor *)colorForFlag:(AIGroupChatFlags)flags;
@end