39 lines
873 B
C++
39 lines
873 B
C++
/*=========================================================================
|
|
*
|
|
* GIItem.h - Define the GI_Item class
|
|
*
|
|
* Version 1.0
|
|
* Revision date
|
|
*
|
|
*=======================================================================*/
|
|
#ifndef __GIITEM_H__
|
|
#define __GIITEM_H__
|
|
|
|
|
|
/*
|
|
=======================================================================================
|
|
GI_Item class
|
|
=======================================================================================
|
|
*/
|
|
|
|
class GI_Item
|
|
{
|
|
// datas
|
|
public:
|
|
// boolean for telling if the object is active or inactive
|
|
BOOL m_bActived;
|
|
// name of the object
|
|
char m_szName[50];
|
|
|
|
// methods
|
|
public:
|
|
//constructor
|
|
GI_Item(BOOL bAct, char *szName);
|
|
//destructor
|
|
~GI_Item();
|
|
|
|
//return the name of the object
|
|
char* m_fn_p_oGetName(void) { return m_szName; }
|
|
};
|
|
|
|
#endif // __GIITEM_H__
|