www.pudn.com > dialogic_IVR.rar > PointerList.h
// PointerList.h: interface for the CPointerList class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_POINTERLIST_H__454AAFA4_3274_11D3_92A9_0080C8E20453__INCLUDED_)
#define AFX_POINTERLIST_H__454AAFA4_3274_11D3_92A9_0080C8E20453__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CPointerList
{
//attributes
public:
void **ppmember;
int m_iCount;
int m_iTotalCount;
int m_iIncrement;
//operations
public:
BOOL IsEmpty();
void * RemoveTail();
void * RemoveHead();
int AddTail(void *pNewElement);
int AddHead(void *pNewElement);
CPointerList();
virtual ~CPointerList();
};
#endif // !defined(AFX_POINTERLIST_H__454AAFA4_3274_11D3_92A9_0080C8E20453__INCLUDED_)