jens@0: // jens@0: // IChatUtils.h jens@0: // MYUtilities jens@0: // jens@0: // Created by Jens Alfke on 3/3/08. jens@0: // Copyright 2008 Jens Alfke. All rights reserved. jens@0: // jens@0: jens@0: #import jens@11: @class SBApplication, ABPerson; jens@0: jens@0: jens@0: @interface IChatUtils : NSObject jens@0: jens@0: + (SBApplication*) app; jens@0: + (BOOL) isRunning; jens@0: + (void) activate; jens@0: + (NSString*) activeChatPartner; jens@0: + (BOOL) sendMessage: (NSString*)msg; jens@0: jens@11: + (NSDictionary*) iChatInfoForOnlinePerson: (ABPerson*)abPerson; jens@11: + (BOOL) isPersonOnline: (ABPerson*)abPerson; jens@17: jens@11: + (BOOL) sendMessage: (NSString*)msg toPerson: (ABPerson*)abPerson; jens@17: + (BOOL) sendMessage: (NSString*)msg toBuddyWithScreenName: (NSString*)screenName; jens@11: jens@0: @end