-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathQSAdiumMediator.h
44 lines (37 loc) · 1.14 KB
/
QSAdiumMediator.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//
// QSAdiumMediator.h
// QSAdiumPlugIn
//
// Created by Brian Donovan on Tue Oct 05 2004.
// Copyright (c) 2004 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import <Foundation/NSConnection.h>
#import "QSChatMediator.h"
//#import <QSCore/NSAppleScript_BLTRExtensions.h>
#import <QSFoundation/NSString_BLTRExtensions.h>
#import <QSCore/QSMacros.h>
#import <QSCore/QSCore.h>
#import <QSCore/QSBadgeImage.h>
#import <QSCore/QSLibrarian.h>
typedef enum {
AIAvailableStatus = 'avaL',
AIAwayStatus = 'awaY',
AIIdleStatus = 'idlE',
AIAwayAndIdleStatus = 'aYiE',
AIOfflineStatus = 'offL',
AIUnknownStatus = 'unkN'
} AIStatusSummary;
@interface QSAdiumMediator : NSObject <QSChatMediator> {
NSArray *availableAccounts;
NSDate *availableAccountsDate;
}
+ (NSProxy *)createAdiumProxy;
+ (NSArray *)supportedAccountTypes;
+ (int)supportedChatTypes;
- (NSArray *)availableAccounts;
- (NSString *)statusForAccount:(NSString *)accountID;
- (BOOL)accountIsAvailable:(NSString *)accountID;
- (BOOL)initiateChat:(QSChatType)serviceType withAccounts:(NSArray *)accountIDs info:(id)info;
- (int)capabilitiesOfAccount:(NSString *)accountID;
@end