#include <expbmp.h>
Inheritance diagram for ExportBitmapList:
Public Member Functions | |
~ExportBitmapList () | |
Destroy the list of exported Bitmaps. | |
ExportBitmap * | AddBitmap (KernelBitmap *pBmp, INT32 RecordNumber) |
Add a new Bitmap to the list of exported Bitmaps. |
Definition at line 152 of file expbmp.h.
|
Destroy the list of exported Bitmaps.
Definition at line 154 of file expbmp.cpp. 00155 { 00156 // Destroy the list of Bitmaps which we may have 00157 //ExportBitmap* pExportedBitmap = (ExportBitmap *)GetHead(); 00158 //while (pExportedBitmap) 00159 //{ 00160 // delete pExportedBitmap; 00161 00162 // Try the next Bitmap in the list 00163 // pExportedBitmap = (ExportBitmap *)Bitmaps.GetNext(pExportedBitmap); 00164 // } 00165 00166 DeleteAll(); 00167 }
|
|
Add a new Bitmap to the list of exported Bitmaps.
Definition at line 186 of file expbmp.cpp. 00187 { 00188 ERROR2IF(pBmp->HasBeenDeleted(), NULL, "Trying to add a deleted bitmap to the export list"); 00189 00190 ExportBitmap *pNewBmp = new ExportBitmap(pBmp, NewRecordNumber); 00191 00192 // Check for out of memory 00193 if (pNewBmp == NULL) 00194 return NULL; 00195 00196 // Add to the list and return success 00197 AddTail(pNewBmp); 00198 return pNewBmp; 00199 }
|