#include <modlist.h>
Inheritance diagram for ModuleListItem:
Public Member Functions | |
ModuleListItem (Module *, OILModule *) | |
Create a new ModuleListItem with the module pointer and info fields filled in. The info fields are filled in by interrogating the module. | |
~ModuleListItem () | |
Destroys a ModuleListItem. Deletes the module contained within it. | |
Public Attributes | |
BOOL | m_Initialised |
ModInfo | m_ModInfo |
Module * | m_pModule |
OILModule * | m_pOILModule |
Private Member Functions | |
CC_DECLARE_MEMDUMP (ModuleListItem) |
Definition at line 127 of file modlist.h.
|
Create a new ModuleListItem with the module pointer and info fields filled in. The info fields are filled in by interrogating the module.
Definition at line 131 of file modlist.cpp. 00132 { 00133 m_Initialised = FALSE; 00134 pNewModule->Describe( &m_ModInfo ); 00135 m_pModule = pNewModule; 00136 m_pOILModule = pNewOILModule; 00137 }
|
|
Destroys a ModuleListItem. Deletes the module contained within it.
Definition at line 154 of file modlist.cpp. 00155 { 00156 delete m_pModule; 00157 m_pModule = NULL; 00158 00159 if( NULL != m_pOILModule ) 00160 { 00161 // PORTNOTETRACE("other","ModuleListItem::~ModuleListItem - m_pOILModule NOT deleted"); 00162 //#ifndef EXCLUDE_FROM_XARALX 00163 delete m_pOILModule; 00164 //#endif 00165 m_pOILModule = NULL; 00166 } 00167 }
|
|
|
|
|
|
|
|
|
|
|