IChatUtils.h
author Jens Alfke <jens@mooseyard.com>
Sat May 31 11:26:17 2008 -0700 (2008-05-31)
changeset 12 66b870428f85
parent 0 d84d25d6cdbb
child 17 a1044ae95953
permissions -rw-r--r--
* Worked around compiler warnings in Test.h when building for iPhone.
* Made Mercurial ignore the documentation files.
     1 //
     2 //  IChatUtils.h
     3 //  MYUtilities
     4 //
     5 //  Created by Jens Alfke on 3/3/08.
     6 //  Copyright 2008 Jens Alfke. All rights reserved.
     7 //
     8 
     9 #import <Cocoa/Cocoa.h>
    10 @class SBApplication, ABPerson;
    11 
    12 
    13 @interface IChatUtils : NSObject 
    14 
    15 + (SBApplication*) app;
    16 + (BOOL) isRunning;
    17 + (void) activate;
    18 + (NSString*) activeChatPartner;
    19 + (BOOL) sendMessage: (NSString*)msg;
    20 
    21 + (NSDictionary*) iChatInfoForOnlinePerson: (ABPerson*)abPerson;
    22 + (BOOL) isPersonOnline: (ABPerson*)abPerson;
    23 + (BOOL) sendMessage: (NSString*)msg toPerson: (ABPerson*)abPerson;
    24 
    25 @end