📄 skypeapi-carbon.h
字号:
// $Id: SkypeAPI-Carbon.h,v 1.4 2005/11/28 19:00:28 teelem Exp $/* * SkypeAPI-Carbon.h * SkypeMac * * Created by Janno Teelem on 14/06/2005. * Copyright 2005 Skype Technologies S.A.. All rights reserved. * */#include <sys/cdefs.h>#include <Carbon/Carbon.h>__BEGIN_DECLS// In order to use Skype API, you must create a single instance of SkypeDelegate.// Set callback functions for the members of this struct and Skype will call these// functions to notify your application when something happens.struct SkypeDelegate{ // Required member CFStringRef clientApplicationName; // Optional members, can be NULL void (*SkypeNotificationReceived)(CFStringRef aNotificationString); void (*SkypeAttachResponse)(unsigned int aAttachResponseCode); // 0 - failed, 1 - success void (*SkypeBecameAvailable)(CFPropertyListRef aNotification); void (*SkypeBecameUnavailable)(CFPropertyListRef aNotification);};Boolean IsSkypeRunning(void);Boolean IsSkypeAvailable(void);// You must call this function, before calling ConnectToSkype() and SendSkypeCommand()void SetSkypeDelegate(struct SkypeDelegate* aDelegate);struct SkypeDelegate* GetSkypeDelegate(void);void RemoveSkypeDelegate(void);void ConnectToSkype(void);void DisconnectFromSkype(void);void SendSkypeCommand(CFStringRef aCommandString);__END_DECLS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -