connectivitymodules/SeCon/services/oviaccounthandler/inc/sconoviaccounthandler.h
branchRCL_3
changeset 18 453dfc402455
equal deleted inserted replaced
17:dbd1c5e08735 18:453dfc402455
       
     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:  CSconOviAccountHandler header file
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef _SCONOVIACCOUNTHANDLER_H_
       
    20 #define _SCONOVIACCOUNTHANDLER_H_
       
    21 
       
    22 #include <e32base.h>
       
    23 #include <s32strm.h>
       
    24 
       
    25 _LIT(KSconOviAccountHandlerDllName, "sconoviaccounthandler.dll");
       
    26 const TUid KSconOviAccountHandlerDllUid={0x10009D8D};
       
    27 
       
    28 class CWSOviAccountManager;
       
    29 
       
    30 /**
       
    31  * CSconOviAccountHandler provides Ovi account information.
       
    32  * Dynamically loadable dll.
       
    33  */
       
    34 class CSconOviAccountHandler : public CBase
       
    35 {
       
    36     public:
       
    37     static CSconOviAccountHandler* NewL();
       
    38     ~CSconOviAccountHandler();
       
    39     
       
    40     /**
       
    41      * Reads account information from device
       
    42      * @param aAccountInfoStream stream where to export account details.
       
    43      * @leave KErrNotFound if account information does not exist.
       
    44      */
       
    45     virtual void GetOviAccountDetailsL( RWriteStream& aAccountInfoStream );
       
    46     
       
    47     private:
       
    48     void ConstructL();
       
    49     
       
    50     private: // Data
       
    51     CWSOviAccountManager* iOviAccountManager;
       
    52     
       
    53 };
       
    54 
       
    55 IMPORT_C CSconOviAccountHandler* CreateCSconOviAccountHandlerL();
       
    56 typedef CSconOviAccountHandler* (*TSConCreateCSconOviAccountHandlerFunc) (); 
       
    57 
       
    58 #endif // _SCONOVIACCOUNTHANDLER_H_