imservices/xmppsettingsfetcher/inc/xmppsettingsfetcher.h
changeset 51 61fad867f68e
equal deleted inserted replaced
-1:000000000000 51:61fad867f68e
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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:  fetches xmpp settings from settings store 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __CXMPPSETTINGSFETCHER_H__
       
    19 #define __CXMPPSETTINGSFETCHER_H__
       
    20 
       
    21 //  INCLUDES
       
    22 #include <e32base.h>
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 class CXmppParameters;
       
    26 
       
    27 /**
       
    28  * CXmppSettingsFetcher
       
    29  *
       
    30  * Fetches settings from the xmpp settings store
       
    31  *
       
    32  */
       
    33 class CXmppSettingsFetcher : public CBase
       
    34     {
       
    35 
       
    36 public: 
       
    37     /**
       
    38      * Reads the settings corresponding to the settingsid from
       
    39      *   the xmpp settings store and stores them to the out parameter
       
    40      *
       
    41      * @param aSettingsId provided settingsid
       
    42      * @param aParams settings read from the store are stored in this parameter
       
    43      */
       
    44 	IMPORT_C static TInt ReadSettingsL( TUint32 aSettingsId, CXmppParameters& aParams );
       
    45 
       
    46    };
       
    47 
       
    48 
       
    49 #endif // __CXMPPSETTINGSFETCHER_H__