epoc32/include/mw/eikenv.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
--- a/epoc32/include/mw/eikenv.h	Wed Mar 31 12:27:01 2010 +0100
+++ b/epoc32/include/mw/eikenv.h	Wed Mar 31 12:33:34 2010 +0100
@@ -1,9 +1,9 @@
 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
 // All rights reserved.
 // This component and the accompanying materials are made available
-// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
+// under the terms of "Eclipse Public License v1.0"
 // which accompanies this distribution, and is available
-// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
 //
 // Initial Contributors:
 // Nokia Corporation - initial contribution.
@@ -26,15 +26,19 @@
 #include <badesca.h>
 #include <baerrhan.h>
 #include <gulcolor.h>
-#include <eikdgfty.h>
 #include <eikaufty.h>
-#include <eiklibry.h>
 #include <eikamnt.h>
 #include <lafmain.h>
 #include <eikvcurs.h>
 #include <babitflags.h>
 #include <eikpicturefactory.h>
 
+#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include <eikdgfty.h>
+#include <eiklibry.h>
+#endif //SYMBIAN_ENABLE_SPLIT_HEADERS
+#include <eikfctry.h>
+
 class CEikProcess;
 class MEikInfoMsgWin;
 class MEikBusyMsgWin;
@@ -68,6 +72,11 @@
 class CEikAppServer;
 class CLafSystemFont;
 class RApaLsSession;
+class MEikCDlgDialogFactory;
+class MEikPrintDialogFactory;
+class MEikFileDialogFactory;
+class CEikAutoMenuTitleArray;
+
 
 /**
 @publishedAll
@@ -75,23 +84,6 @@
 */
 typedef void (*TRequestDialogFunc)();
 
-/**
-@internalComponent
-*/
-const TUid KUikonLibraryUid = {KUidUikonLibraryValue};
-
-/**
-Creates the CEikLibrary interface object by calling the first ordinal function which is mapped to NewL method.
-
-The function leaves with KErrBadLibraryEntryPoint if the ordinal 1 function 
-cannot be found.
-
-@publishedPartner
-@released
-*/
-typedef CEikLibrary* (*EikLibraryEntryPoint)();
-
-
 /** An environment for creating controls and utility functions for manipulating 
 them. 
 
@@ -314,6 +306,7 @@
 	void PostAppUiInitializeL();
 	TLanguage ApplicationLanguage() const;
 	void PostAppUiDestroy();
+	TInt ConstructorError() const;
 private:
 	IMPORT_C virtual void CEikonEnv_Reserved_1();
 	IMPORT_C virtual void CEikonEnv_Reserved_2();
@@ -445,49 +438,50 @@
 	virtual TBool RunDlgLD(TInt aResource, const TDesC& aTitle, const TDesC& aMsg) = 0;
 	};
 
-
-/**
-@publishedPartner
-@released
-*/
-class MEikAlertWin
-	{
-public:
-	virtual void ConstructL() = 0;
-	virtual void RunAlert(const TDesC& aTitle, const TDesC& aMsg) = 0;
-	virtual void Release() = 0;
-	virtual CEikDialog* AsEikDialog() = 0;
-	inline const CEikDialog* AsEikDialog() const;
-	IMPORT_C virtual CCoeControl* AsCoeControl();
-	inline const CCoeControl* AsCoeControl() const;
-private:
-	IMPORT_C virtual void MEikAlertWin_Reserved2();
-	IMPORT_C virtual void MEikAlertWin_Reserved3();
-	};
-
-
-/**
-@publishedPartner 
-@released 
-*/
-class MEikDebugKeys
-	{
-public:
-	virtual void ConstructL() = 0;
-	virtual void Release() = 0;
-private:
-	IMPORT_C virtual void MEikDebugKeys_Reserved1();
-	IMPORT_C virtual void MEikDebugKeys_Reserved2();
-	IMPORT_C virtual void MEikDebugKeys_Reserved3();
-	};
-
-
 IMPORT_C void InternalizeL(TEikPortFlag& aThing,RReadStream& aStream);
 inline RWriteStream& operator<<(RWriteStream& aStream,const TEikPortFlag& aThing)
 	{aStream.WriteUint8L(aThing);return aStream;}
 inline RReadStream& operator>>(RReadStream& aStream,TEikPortFlag& aThing)
 	{InternalizeL(aThing,aStream);return aStream;}
 
+/**
+@publishedAll
+@released
+*/
+class MEikAlertWin
+    {
+public:
+    virtual void ConstructL() = 0;
+    virtual void RunAlert(const TDesC& aTitle, const TDesC& aMsg) = 0;
+    virtual void Release() = 0;
+    virtual CEikDialog* AsEikDialog() = 0;
+    inline const CEikDialog* AsEikDialog() const;
+    IMPORT_C virtual CCoeControl* AsCoeControl();
+    inline const CCoeControl* AsCoeControl() const;
+private:
+    IMPORT_C virtual void MEikAlertWin_Reserved2();
+    IMPORT_C virtual void MEikAlertWin_Reserved3();
+    };
+
+
+/**
+@publishedAll
+@released 
+*/
+class MEikDebugKeys
+    {
+public:
+    virtual void ConstructL() = 0;
+    virtual void Release() = 0;
+private:
+    IMPORT_C virtual void MEikDebugKeys_Reserved1();
+    IMPORT_C virtual void MEikDebugKeys_Reserved2();
+    IMPORT_C virtual void MEikDebugKeys_Reserved3();
+    };
+
 #include <eikenv.inl>
+#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
+#include <uikon/eikenvinterface.h>
+#endif //SYMBIAN_ENABLE_SPLIT_HEADERS
 
 #endif	// __EIKENV_H__