networkingtestandutils/networkingunittest/tdummyetel/FAXSET.H
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     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 #ifndef __FAXSET_H
       
    19 #define __FAXSET_H
       
    20 
       
    21 #include <commdb.h>
       
    22 #include <cdblen.h> 
       
    23 #include <cdbcols.h>
       
    24 
       
    25 /********************************************************************/
       
    26 
       
    27 class TFaxSettings
       
    28 /**
       
    29 @internalComponent
       
    30 */
       
    31    {
       
    32  public:
       
    33    IMPORT_C void ExternalizeL (RWriteStream &) const;
       
    34    IMPORT_C void InternalizeL (RReadStream &);
       
    35    IMPORT_C TFaxSettings& operator=(const TFaxSettings& aFaxSettings);
       
    36    TBuf8 < 20 > iFaxId ;
       
    37    TInt iMaxSpeed;
       
    38    TInt iMinSpeed;
       
    39    TFaxResolution iPreferredResolution;
       
    40    TFaxCompression iPreferredCompression;
       
    41    TInt iPreferredECM;
       
    42    TInt iVerbose;
       
    43    TInt iFaxOnDemandDelay ;
       
    44    TFaxClass iFaxClass;
       
    45    };
       
    46 
       
    47 /********************************************************************/
       
    48 
       
    49 class CFaxSettings : public CBase
       
    50 /**
       
    51 now the CFaxSettings class
       
    52 @internalComponent
       
    53 */
       
    54    {
       
    55 public:
       
    56    static CFaxSettings * NewL ();
       
    57    static CFaxSettings * NewLC ();
       
    58    ~CFaxSettings ();
       
    59    void ValidateAndSetClassL (TFaxSettings *);
       
    60 
       
    61 protected:
       
    62    void ConstructL ();
       
    63  protected:
       
    64    RFs iFileSession;
       
    65    CCommsDatabase* iDatabase;
       
    66    };
       
    67 
       
    68 /********************************************************************/
       
    69 
       
    70 #endif
       
    71