author | Jens Alfke <jens@mooseyard.com> |
Tue Jun 17 14:57:48 2008 -0700 (2008-06-17) | |
changeset 14 | 1af6415650bf |
parent 0 | d84d25d6cdbb |
child 17 | a1044ae95953 |
permissions | -rw-r--r-- |
jens@0 | 1 |
// |
jens@0 | 2 |
// IChatUtils.h |
jens@0 | 3 |
// MYUtilities |
jens@0 | 4 |
// |
jens@0 | 5 |
// Created by Jens Alfke on 3/3/08. |
jens@0 | 6 |
// Copyright 2008 Jens Alfke. All rights reserved. |
jens@0 | 7 |
// |
jens@0 | 8 |
|
jens@0 | 9 |
#import <Cocoa/Cocoa.h> |
jens@11 | 10 |
@class SBApplication, ABPerson; |
jens@0 | 11 |
|
jens@0 | 12 |
|
jens@0 | 13 |
@interface IChatUtils : NSObject |
jens@0 | 14 |
|
jens@0 | 15 |
+ (SBApplication*) app; |
jens@0 | 16 |
+ (BOOL) isRunning; |
jens@0 | 17 |
+ (void) activate; |
jens@0 | 18 |
+ (NSString*) activeChatPartner; |
jens@0 | 19 |
+ (BOOL) sendMessage: (NSString*)msg; |
jens@0 | 20 |
|
jens@11 | 21 |
+ (NSDictionary*) iChatInfoForOnlinePerson: (ABPerson*)abPerson; |
jens@11 | 22 |
+ (BOOL) isPersonOnline: (ABPerson*)abPerson; |
jens@11 | 23 |
+ (BOOL) sendMessage: (NSString*)msg toPerson: (ABPerson*)abPerson; |
jens@11 | 24 |
|
jens@0 | 25 |
@end |