messagingapp/msgsettings/settingsview/inc/mmssettingprivate.h
changeset 25 84d9eb65b26f
child 48 4f501b74aeb1
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 setMMSRetrieval(MsgSettingEngine::MmsRetrieval aRetrieval);
       
    46 
       
    47     void setAnonymousMessages(TBool aAnonymous);
       
    48 
       
    49     void setReceiveMMSAdverts(TBool aReceiveAdvert);
       
    50 
       
    51     void advanceMmsSettings(MsgSettingEngine::MmsRetrieval& aRetrieval,
       
    52                             TBool& aAnonymousStatus, TBool& aMmsAdvertsStatus);
       
    53 
       
    54     void getAllAccessPoints(RPointerArray<HBufC>& aAccessPoints,
       
    55                             TInt& aDefaultIndex);
       
    56 
       
    57     void setMMSAccesspoint(TInt& aDefaultIndex);
       
    58 
       
    59 private:
       
    60 
       
    61     /*
       
    62      * 1st phase Constructor 
       
    63      */
       
    64     MmsSettingsPrivate();
       
    65 
       
    66     /**
       
    67      * 2nd phase constructor
       
    68      */
       
    69     void ConstructL();
       
    70 
       
    71     /*
       
    72      * Creates the repository
       
    73      */
       
    74     void createRepositoryL();
       
    75 
       
    76 private:
       
    77     //nothing private data
       
    78 };
       
    79 
       
    80 #endif // MMSSETTINS_PRIVATE_H
       
    81