CMXReferDefaultScreen Class Reference

#include <cmxexdc.h>

Inheritance diagram for CMXReferDefaultScreen:

CMXReferListItem ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 CMXReferDefaultScreen (CMXExportDC *pDC)
INT32 IsInWhichDesc (void)
BOOL WriteInDesc (CMXExportDC *pDC)
 writes the default screen list entry -- same as the default one corel writes

Private Member Functions

 CC_DECLARE_DYNAMIC (CMXReferDefaultScreen)

Detailed Description

Definition at line 503 of file cmxexdc.h.


Constructor & Destructor Documentation

CMXReferDefaultScreen::CMXReferDefaultScreen CMXExportDC pDC  )  [inline]
 

Definition at line 508 of file cmxexdc.h.

00508 : CMXReferListItem(pDC) {};


Member Function Documentation

CMXReferDefaultScreen::CC_DECLARE_DYNAMIC CMXReferDefaultScreen   )  [private]
 

INT32 CMXReferDefaultScreen::IsInWhichDesc void   )  [inline, virtual]
 

Reimplemented from CMXReferListItem.

Definition at line 510 of file cmxexdc.h.

00510 {return cmxDESC_SCREEN;};

BOOL CMXReferDefaultScreen::WriteInDesc CMXExportDC pDC  )  [virtual]
 

writes the default screen list entry -- same as the default one corel writes

Author:
Ben_Summers (Xara Group Ltd) <camelotdev@xara.com>
Date:
26/06/96
Parameters:
export dc [INPUTS]
Returns:
none
See also:

Reimplemented from CMXReferListItem.

Definition at line 539 of file cmxexdc.cpp.

00540 {
00541     if(pDC->IsThirtyTwoBit())
00542     {
00543         cmxScreenDef32 scrdef = {0,0,0,0,0};
00544 
00545         if(!pDC->WriteTag(cmxTAG_DescrSection_Screen_Basic, &scrdef, sizeof(scrdef))
00546             || !pDC->WriteMinEndTag())
00547             return FALSE;
00548     }
00549     else
00550     {
00551         cmxScreenDef16 scrdef = {0,0,0,0};
00552 
00553         if(!pDC->WriteData(&scrdef, sizeof(scrdef)))
00554             return FALSE;
00555     }
00556 
00557     return TRUE;
00558 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:52:42 2007 for Camelot by  doxygen 1.4.4