fax/faxclientandserver/Inc/FAXSET.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 // Contents : for saving/restoring persistent fax settings
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20 */
       
    21 
       
    22 #ifndef __FAXSET_H
       
    23 #define __FAXSET_H
       
    24 
       
    25 #include <cdblen.h> 
       
    26 #include <cdbcols.h>
       
    27 
       
    28 #include <s32strm.h>
       
    29 #include <f32file.h>
       
    30 
       
    31 /********************************************************************/
       
    32 
       
    33 /**
       
    34 Fax configuration information.
       
    35 
       
    36 Contains persistent information applicable to all fax sessions. 
       
    37 
       
    38 @publishedPartner
       
    39 @released
       
    40 */
       
    41 class TFaxSettings
       
    42 	{
       
    43 public:
       
    44 	IMPORT_C void ExternalizeL (RWriteStream &) const;
       
    45 	IMPORT_C void InternalizeL (RReadStream &);
       
    46 	IMPORT_C TFaxSettings& operator=(const TFaxSettings& aFaxSettings);
       
    47 	/** The local Fax ID string, which must be exactly 20 characters, with only 0-9, 
       
    48 	space, and + permissible for exact conformance with ITU T.30. */
       
    49 	TBuf8 < 20 > iFaxId ;
       
    50 	/** Maximum speed of fax session in bps. */
       
    51 	TInt iMaxSpeed;
       
    52 	/** Minimum speed of fax session in bps. */
       
    53 	TInt iMinSpeed;
       
    54 	/** Preferred resolution. */
       
    55 	TFaxResolution iPreferredResolution;
       
    56 	/** Preferred compression. */
       
    57 	TFaxCompression iPreferredCompression;
       
    58 	/** If 1, use error correction mode (ECM), else 0. */
       
    59 	TInt iPreferredECM;
       
    60 	/** Switches fax logging on or off. This must be left on. */
       
    61 	TInt iVerbose;
       
    62 	/** The delay between dialling and receiving from a faxback service (seconds). */
       
    63 	TInt iFaxOnDemandDelay ;
       
    64 	/** The fax class. */
       
    65 	TFaxClass iFaxClass;
       
    66 	};
       
    67 
       
    68 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
       
    69 #include <faxsettings.h>
       
    70 #endif
       
    71 
       
    72 #endif