messagingapp/msgsettings/msgsettingsmw/inc/mmssettingprivate.h
changeset 25 84d9eb65b26f
parent 23 238255e8b033
child 27 e4592d119491
child 37 518b245aa84c
child 79 2981cb3aa489
equal deleted inserted replaced
23:238255e8b033 25:84d9eb65b26f
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:  This provides the messaging mw interface for MMS
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef MMSSETTINS_PRIVATE_H
       
    19 #define MMSSETTINS_PRIVATE_H
       
    20 
       
    21 #include <smutset.h>
       
    22 #include <mmsclient.h>
       
    23 
       
    24 #include "msgsettingengine.h"
       
    25 
       
    26 /**
       
    27  * MMS setting class implements the MMSC settings
       
    28  * The settings will be stored in the central repository.
       
    29  */
       
    30 
       
    31 class MmsSettingsPrivate
       
    32 {
       
    33 public:
       
    34 
       
    35     /**
       
    36      * 2 phase constructor
       
    37      */
       
    38     static MmsSettingsPrivate* NewL();
       
    39 
       
    40     /*
       
    41      * Destructor
       
    42      */
       
    43     ~MmsSettingsPrivate();
       
    44 
       
    45     void setDeliveryReport(TBool aReport);
       
    46 
       
    47     void setCharacterEncoding(TBool aFlag);
       
    48 
       
    49     void settingsDeliverReportAndCharEncoding(TBool& aReport, TBool& aFlag);
       
    50 
       
    51     void setMMSCreationmode(MsgSettingEngine::MmsCreationMode aMode);
       
    52 
       
    53     void setMMSRetrieval(MsgSettingEngine::MmsRetrieval aRetrieval);
       
    54 
       
    55     void setAnonymousMessages(TBool aAnonymous);
       
    56 
       
    57     void setReceiveMMSAdverts(TBool aReceiveAdvert);
       
    58 
       
    59     void advanceMmsSettings(MsgSettingEngine::MmsCreationMode& aMode,
       
    60                             MsgSettingEngine::MmsRetrieval& aRetrieval,
       
    61                             TBool& aAnonymousStatus, TBool& aMmsAdvertsStatus);
       
    62 
       
    63     void getAllAccessPoints(RPointerArray<HBufC>& aAccessPoints,
       
    64                             TInt& aDefaultIndex);
       
    65 
       
    66     void setMMSAccesspoint(TInt& aDefaultIndex);
       
    67 
       
    68 private:
       
    69 
       
    70     /*
       
    71      * 1st phase Constructor 
       
    72      */
       
    73     MmsSettingsPrivate();
       
    74 
       
    75     /**
       
    76      * 2nd phase constructor
       
    77      */
       
    78     void ConstructL();
       
    79 
       
    80     /*
       
    81      * Creates the repository
       
    82      */
       
    83     void createRepositoryL();
       
    84 
       
    85 private:
       
    86     //nothing private data
       
    87 };
       
    88 
       
    89 #endif // MMSSETTINS_PRIVATE_H
       
    90