phonestateremotebusy.cpp
来自「基于sipfoundy 公司开发的sipx协议API」· C++ 代码 · 共 49 行
CPP
49 行
//// Copyright (C) 2004, 2005 Pingtel Corp.// //// $$////////////////////////////////////////////////////////////////////////// SYSTEM INCLUDES// APPLICATION INCLUDES#include "../stdwx.h"#include "../sipXmgr.h"#include "PhoneStateRemoteBusy.h"#include "../sipXezPhoneApp.h"#include "PhoneStateIdle.h"#include "../sipXmgr.h"#include "tapi/sipXtapi.h"#include "tapi/sipXtapiEvents.h"// EXTERNAL FUNCTIONS// EXTERNAL VARIABLESextern sipXezPhoneApp* thePhoneApp;// CONSTANTS// STATIC VARIABLE INITIALIZATIONS// MACRO CALLSPhoneStateRemoteBusy::PhoneStateRemoteBusy(void){}PhoneStateRemoteBusy::~PhoneStateRemoteBusy(void){ sipXmgr::getInstance().stopTone();}PhoneState* PhoneStateRemoteBusy::OnFlashButton(){ return (new PhoneStateIdle());}PhoneState* PhoneStateRemoteBusy::Execute(){ thePhoneApp->setStatusMessage("Busy."); sipxCallStartTone(sipXmgr::getInstance().getCurrentCall(), ID_TONE_BUSY, true, false); return this;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?