connectivitymodules/SeCon/services/oviaccounthandler/inc/sconoviaccounthandler.h
branchRCL_3
changeset 20 4a793f564d72
parent 18 453dfc402455
--- /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 <e32base.h>
+#include <s32strm.h>
+
+_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_