Sha256: 5d403cc6dbe5fe2fa8448a9ff4c0fc58a530404c03739f7b14e24b134a36a4da
Contents?: true
Size: 1.2 KB
Versions: 9
Compression:
Stored size: 1.2 KB
Contents
// $Id: SkypeAPI.h,v 1.5 2005/11/28 19:00:28 teelem Exp $ // // SkypeAPI.h // SkypeMac // // Created by Janno Teelem on 12/04/2005. // Copyright (c) 2005 Skype Technologies S.A. All rights reserved. // #import <Cocoa/Cocoa.h> @protocol SkypeAPIDelegate; @interface SkypeAPI : NSObject { } + (BOOL)isSkypeRunning; + (BOOL)isSkypeAvailable; // You can only connect and send commands when this method returns YES. // For example, when Skype is running, but user is logged out, then it returns NO. + (void)setSkypeDelegate:(NSObject<SkypeAPIDelegate>*)aDelegate; + (NSObject<SkypeAPIDelegate>*)skypeDelegate; + (void)removeSkypeDelegate; + (void)connect; + (void)disconnect; + (NSString*)sendSkypeCommand:(NSString*)aCommandString; @end // delegate protocol @protocol SkypeAPIDelegate - (NSString*)clientApplicationName; @end // delegate informal protocol @interface NSObject (SkypeAPIDelegateInformalProtocol) - (void)skypeNotificationReceived:(NSString*)aNotificationString; - (void)skypeAttachResponse:(unsigned)aAttachResponseCode; // 0 - failed, 1 - success - (void)skypeBecameAvailable:(NSNotification*)aNotification; - (void)skypeBecameUnavailable:(NSNotification*)aNotification; @end
Version data entries
9 entries across 3 versions & 1 rubygems