fax/faxclientandserver/faxstrm/faxpageinfo.h
branchRCL_3
changeset 65 630d2f34d719
parent 61 17af172ffa5f
child 66 07a122eea281
equal deleted inserted replaced
61:17af172ffa5f 65:630d2f34d719
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalTechnology
       
    21  @released
       
    22 */
       
    23 
       
    24 #if !defined(__FAXPAGEINFO_H__)
       
    25 #define __FAXPAGEINFO_H__
       
    26 
       
    27 /********************************************************************/
       
    28 
       
    29 /**
       
    30 @internalTechnology
       
    31 */
       
    32 class TFaxBandHeader
       
    33 	{
       
    34 public:
       
    35 	IMPORT_C TFaxBandHeader();
       
    36 	IMPORT_C TFaxBandHeader(TStreamId aStreamId);
       
    37 	IMPORT_C void InternalizeL(RReadStream& aStream);
       
    38 	IMPORT_C void ExternalizeL(RWriteStream& aStream) const;
       
    39 
       
    40 public:
       
    41 	TInt iNumScanLines;
       
    42 	TInt iNumBytes;
       
    43 	TStreamId iStreamId;
       
    44 	};
       
    45 
       
    46 /**
       
    47 @internalTechnology
       
    48 */
       
    49 class CFaxPageInfo : public CBase
       
    50 	{
       
    51 protected:
       
    52 	CFaxPageInfo();
       
    53 public:
       
    54 	IMPORT_C static CFaxPageInfo* NewL();
       
    55 	IMPORT_C ~CFaxPageInfo();
       
    56 	IMPORT_C void InternalizeL(RReadStream& aStream);
       
    57 	IMPORT_C void ExternalizeL(RWriteStream& aStream) const;
       
    58 public:
       
    59 	TFaxResolution iResolution;
       
    60 	TFaxCompression iCompression; // was TInt iReservedFlag1 up to faxstore 013
       
    61 	TInt iReservedFlag2;
       
    62 	TFaxBufSenderId iSenderId;
       
    63 	CArrayFixFlat<TFaxBandHeader>* iBandHeaderList;
       
    64 	};
       
    65 
       
    66 /**
       
    67 @internalTechnology
       
    68 */
       
    69 class CFaxPages	: public CBase
       
    70 	{
       
    71 protected:
       
    72 	CFaxPages();
       
    73 public:
       
    74 	IMPORT_C static CFaxPages* NewL();
       
    75 	IMPORT_C ~CFaxPages();
       
    76 	IMPORT_C void InternalizeL(RReadStream& aStream);
       
    77 	IMPORT_C void ExternalizeL(RWriteStream& aStream) const;
       
    78 public:
       
    79 	CArrayFixFlat<TStreamId>* iPageStreamIdList;
       
    80 	};
       
    81 
       
    82 /********************************************************************/
       
    83 #endif // __FAXPAGEINFO_H__