#include <impbmp.h>
Inheritance diagram for ImportBitmapList:
Public Member Functions | |
~ImportBitmapList () | |
Destroy the list of exported Bitmaps. | |
ImportBitmap * | AddBitmap (KernelBitmap *pBmp, INT32 RecordNumber) |
Add a new Bitmap to the list of exported Bitmaps. |
Definition at line 152 of file impbmp.h.
|
Destroy the list of exported Bitmaps.
Definition at line 153 of file impbmp.cpp. 00154 { 00155 // Destroy the list of Bitmaps which we may have 00156 //ImportBitmap* pExportedBitmap = (ImportBitmap *)GetHead(); 00157 //while (pExportedBitmap) 00158 //{ 00159 // delete pExportedBitmap; 00160 00161 // Try the next Bitmap in the list 00162 // pExportedBitmap = (ImportBitmap *)Bitmaps.GetNext(pExportedBitmap); 00163 // } 00164 00165 DeleteAll(); 00166 }
|
|
Add a new Bitmap to the list of exported Bitmaps.
Definition at line 185 of file impbmp.cpp. 00186 { 00187 ImportBitmap *pNewBmp = new ImportBitmap(pBmp, NewRecordNumber); 00188 00189 // Check for out of memory 00190 if (pNewBmp == NULL) 00191 return NULL; 00192 00193 // Add to the list and return success 00194 AddTail(pNewBmp); 00195 return pNewBmp; 00196 }
|