2 /********************************************************************************
\r
3 * Copyright ? 2004-2009 by INKA Entworks, Inc (www.inka.co.kr). *
\r
4 * All rights reserved. *
\r
6 * No parts of this source code may be in any way copied, reproduced, modified *
\r
7 * or distributed without the prior written consent of INKA Entworks, Inc. *
\r
8 * CPointerArray.h: interface for the CPointerArray class. *
\r
9 *********************************************************************************/
\r
11 #ifndef __CPOINTERARRAY_H__
\r
12 #define __CPOINTERARRAY_H__
\r
15 #if !defined(AFX_CPOINTERARRAY_H__AB67E4BE_A233_4E3E_B257_9830D90326EE__INCLUDED_)
\r
16 #define AFX_CPOINTERARRAY_H__AB67E4BE_A233_4E3E_B257_9830D90326EE__INCLUDED_
\r
20 #endif // _MSC_VER > 1000
\r
23 #include "InkaTypes.h"
\r
27 #endif /* __cplusplus */
\r
29 class CPointerArray
\r
38 virtual ~CPointerArray();
\r
40 int Add( LPVOID pData );
\r
41 int Remove( int nIndex );
\r
42 LPVOID Get( int nIndex );
\r
43 inline int GetCount() { return m_nNumOfData; }
\r
44 inline void RemoveAll() { m_nNumOfData = 0; }
\r
49 #endif /* __cplusplus */
\r
51 #endif // !defined(AFX_CPOINTERARRAY_H__AB67E4BE_A233_4E3E_B257_9830D90326EE__INCLUDED_)
\r
52 #endif /* __CPOINTERARRAY_H__ */
\r