diff -r 0aa8cc770c8a -r 4a793f564d72 connectivitymodules/SeCon/services/oviaccounthandler/inc/sconoviaccounthandler.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/connectivitymodules/SeCon/services/oviaccounthandler/inc/sconoviaccounthandler.h Wed Sep 01 12:20:56 2010 +0100 @@ -0,0 +1,58 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: CSconOviAccountHandler header file +* +*/ + + +#ifndef _SCONOVIACCOUNTHANDLER_H_ +#define _SCONOVIACCOUNTHANDLER_H_ + +#include +#include + +_LIT(KSconOviAccountHandlerDllName, "sconoviaccounthandler.dll"); +const TUid KSconOviAccountHandlerDllUid={0x10009D8D}; + +class CWSOviAccountManager; + +/** + * CSconOviAccountHandler provides Ovi account information. + * Dynamically loadable dll. + */ +class CSconOviAccountHandler : public CBase +{ + public: + static CSconOviAccountHandler* NewL(); + ~CSconOviAccountHandler(); + + /** + * Reads account information from device + * @param aAccountInfoStream stream where to export account details. + * @leave KErrNotFound if account information does not exist. + */ + virtual void GetOviAccountDetailsL( RWriteStream& aAccountInfoStream ); + + private: + void ConstructL(); + + private: // Data + CWSOviAccountManager* iOviAccountManager; + +}; + +IMPORT_C CSconOviAccountHandler* CreateCSconOviAccountHandlerL(); +typedef CSconOviAccountHandler* (*TSConCreateCSconOviAccountHandlerFunc) (); + +#endif // _SCONOVIACCOUNTHANDLER_H_