⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 endpointstorage.h

📁 一个c++实现的acd的例子。 ----ACDCommandListener.cpp ---ACDCommandListenerThread.cpp ---ACDConfig.cpp ---a
💻 H
字号:
// EndpointStorage.h: interface for the EndpointStorage class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ENDPOINTSTORAGE_H__7FE3E20A_2295_4903_9548_0E94C440EAED__INCLUDED_)
#define AFX_ENDPOINTSTORAGE_H__7FE3E20A_2295_4903_9548_0E94C440EAED__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "endpoint.h"

class Endpoint;

//##ModelId=424BB6460140
class EndpointStorage  
{
public:
	//EndpointStorage();
	//virtual ~EndpointStorage();
    /**
     * Add endpoint.
     * @param _epid     endpoint ID
     * @param _alias    first H.323 alias
     */
	//##ModelId=424BB6460141
    void addEndpoint(CString _epid, CString _alias);

    /**
     * Remove endpoint.
     * @param _epid     endpoint ID
     */
	//##ModelId=424BB6460151
    void removeEndpoint(CString _epid);

    /**
     * Change endpoint state.
     * @param _epid     endpoint ID
     * @param _state    new state
     */
	//##ModelId=424BB6460153
    void setEndpointState(CString _epid, int _state);

    /**
     * Access endpoint by endpoint ID.
     * @param _epid     endpoint ID
     * @return          the endpoint
     */
	//##ModelId=424BB6460161
    Endpoint endpointById(CString _epid);

    /**
     * Access endpoint by alias.
     * @param _alias    H.323 alias
     * @return          the endpoint
     */
	//##ModelId=424BB646016F
    Endpoint endpointByAlias(CString _alias);


};

#endif // !defined(AFX_ENDPOINTSTORAGE_H__7FE3E20A_2295_4903_9548_0E94C440EAED__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -