adium/adium
Clone
Summary
Browse
Changes
Graph
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.
*/
#import <Adium/AIContactObserverManager.h>
#import "AISegmentedControl.h"
@
class
AICompletingTextField
;
@
interface
RAFBlockEditorWindowController
:
AIPreferencePane
<
AIListObjectObserver
,
NSTableViewDelegate
,
NSTableViewDataSource
>
{
NSMutableArray
*
listContents
;
NSArray
*
accountArray
;
NSMatrix
*
privacyLevel
;
NSTableView
*
accountTable
;
NSTableView
*
contactTable
;
NSTextField
*
label_information
;
AISegmentedControl
*
addRemoveContact
;
NSWindow
*
sheet
;
AICompletingTextField
*
addContactField
;
AILocalizationButton
*
addContact
;
AILocalizationButton
*
cancelSheet
;
AILocalizationTextField
*
label_contact
;
AILocalizationTextField
*
label_blockInformation
;
}
@
property
(
assign
)
IBOutlet
NSTableView
*
accountTable
;
@
property
(
assign
)
IBOutlet
NSTableView
*
contactTable
;
@
property
(
assign
)
IBOutlet
NSMatrix
*
privacyLevel
;
@
property
(
assign
)
IBOutlet
NSTextField
*
label_information
;
@
property
(
assign
)
IBOutlet
AISegmentedControl
*
addRemoveContact
;
@
property
(
assign
)
IBOutlet
NSWindow
*
sheet
;
@
property
(
assign
)
IBOutlet
AICompletingTextField
*
addContactField
;
@
property
(
assign
)
IBOutlet
AILocalizationButton
*
addContact
;
@
property
(
assign
)
IBOutlet
AILocalizationButton
*
cancelSheet
;
@
property
(
assign
)
IBOutlet
AILocalizationTextField
*
label_contact
;
@
property
(
assign
)
IBOutlet
AILocalizationTextField
*
label_blockInformation
;
+
(
void
)
showWindow
;
-
(
IBAction
)
addOrRemoveBlock
:
(
id
)
sender
;
-
(
IBAction
)
cancelBlockSheet
:
(
id
)
sender
;
-
(
IBAction
)
didBlockSheet
:
(
id
)
sender
;
-
(
IBAction
)
setPrivacyOption
:
(
id
)
sender
;
@
end