epoc32/include/mw/eikenv.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/mw/eikenv.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/mw/eikenv.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4  // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5  // All rights reserved.
     1.6  // This component and the accompanying materials are made available
     1.7 -// 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
     1.8 +// under the terms of "Eclipse Public License v1.0"
     1.9  // which accompanies this distribution, and is available
    1.10 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.12  //
    1.13  // Initial Contributors:
    1.14  // Nokia Corporation - initial contribution.
    1.15 @@ -26,15 +26,19 @@
    1.16  #include <badesca.h>
    1.17  #include <baerrhan.h>
    1.18  #include <gulcolor.h>
    1.19 -#include <eikdgfty.h>
    1.20  #include <eikaufty.h>
    1.21 -#include <eiklibry.h>
    1.22  #include <eikamnt.h>
    1.23  #include <lafmain.h>
    1.24  #include <eikvcurs.h>
    1.25  #include <babitflags.h>
    1.26  #include <eikpicturefactory.h>
    1.27  
    1.28 +#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
    1.29 +#include <eikdgfty.h>
    1.30 +#include <eiklibry.h>
    1.31 +#endif //SYMBIAN_ENABLE_SPLIT_HEADERS
    1.32 +#include <eikfctry.h>
    1.33 +
    1.34  class CEikProcess;
    1.35  class MEikInfoMsgWin;
    1.36  class MEikBusyMsgWin;
    1.37 @@ -68,6 +72,11 @@
    1.38  class CEikAppServer;
    1.39  class CLafSystemFont;
    1.40  class RApaLsSession;
    1.41 +class MEikCDlgDialogFactory;
    1.42 +class MEikPrintDialogFactory;
    1.43 +class MEikFileDialogFactory;
    1.44 +class CEikAutoMenuTitleArray;
    1.45 +
    1.46  
    1.47  /**
    1.48  @publishedAll
    1.49 @@ -75,23 +84,6 @@
    1.50  */
    1.51  typedef void (*TRequestDialogFunc)();
    1.52  
    1.53 -/**
    1.54 -@internalComponent
    1.55 -*/
    1.56 -const TUid KUikonLibraryUid = {KUidUikonLibraryValue};
    1.57 -
    1.58 -/**
    1.59 -Creates the CEikLibrary interface object by calling the first ordinal function which is mapped to NewL method.
    1.60 -
    1.61 -The function leaves with KErrBadLibraryEntryPoint if the ordinal 1 function 
    1.62 -cannot be found.
    1.63 -
    1.64 -@publishedPartner
    1.65 -@released
    1.66 -*/
    1.67 -typedef CEikLibrary* (*EikLibraryEntryPoint)();
    1.68 -
    1.69 -
    1.70  /** An environment for creating controls and utility functions for manipulating 
    1.71  them. 
    1.72  
    1.73 @@ -314,6 +306,7 @@
    1.74  	void PostAppUiInitializeL();
    1.75  	TLanguage ApplicationLanguage() const;
    1.76  	void PostAppUiDestroy();
    1.77 +	TInt ConstructorError() const;
    1.78  private:
    1.79  	IMPORT_C virtual void CEikonEnv_Reserved_1();
    1.80  	IMPORT_C virtual void CEikonEnv_Reserved_2();
    1.81 @@ -445,49 +438,50 @@
    1.82  	virtual TBool RunDlgLD(TInt aResource, const TDesC& aTitle, const TDesC& aMsg) = 0;
    1.83  	};
    1.84  
    1.85 -
    1.86 -/**
    1.87 -@publishedPartner
    1.88 -@released
    1.89 -*/
    1.90 -class MEikAlertWin
    1.91 -	{
    1.92 -public:
    1.93 -	virtual void ConstructL() = 0;
    1.94 -	virtual void RunAlert(const TDesC& aTitle, const TDesC& aMsg) = 0;
    1.95 -	virtual void Release() = 0;
    1.96 -	virtual CEikDialog* AsEikDialog() = 0;
    1.97 -	inline const CEikDialog* AsEikDialog() const;
    1.98 -	IMPORT_C virtual CCoeControl* AsCoeControl();
    1.99 -	inline const CCoeControl* AsCoeControl() const;
   1.100 -private:
   1.101 -	IMPORT_C virtual void MEikAlertWin_Reserved2();
   1.102 -	IMPORT_C virtual void MEikAlertWin_Reserved3();
   1.103 -	};
   1.104 -
   1.105 -
   1.106 -/**
   1.107 -@publishedPartner 
   1.108 -@released 
   1.109 -*/
   1.110 -class MEikDebugKeys
   1.111 -	{
   1.112 -public:
   1.113 -	virtual void ConstructL() = 0;
   1.114 -	virtual void Release() = 0;
   1.115 -private:
   1.116 -	IMPORT_C virtual void MEikDebugKeys_Reserved1();
   1.117 -	IMPORT_C virtual void MEikDebugKeys_Reserved2();
   1.118 -	IMPORT_C virtual void MEikDebugKeys_Reserved3();
   1.119 -	};
   1.120 -
   1.121 -
   1.122  IMPORT_C void InternalizeL(TEikPortFlag& aThing,RReadStream& aStream);
   1.123  inline RWriteStream& operator<<(RWriteStream& aStream,const TEikPortFlag& aThing)
   1.124  	{aStream.WriteUint8L(aThing);return aStream;}
   1.125  inline RReadStream& operator>>(RReadStream& aStream,TEikPortFlag& aThing)
   1.126  	{InternalizeL(aThing,aStream);return aStream;}
   1.127  
   1.128 +/**
   1.129 +@publishedAll
   1.130 +@released
   1.131 +*/
   1.132 +class MEikAlertWin
   1.133 +    {
   1.134 +public:
   1.135 +    virtual void ConstructL() = 0;
   1.136 +    virtual void RunAlert(const TDesC& aTitle, const TDesC& aMsg) = 0;
   1.137 +    virtual void Release() = 0;
   1.138 +    virtual CEikDialog* AsEikDialog() = 0;
   1.139 +    inline const CEikDialog* AsEikDialog() const;
   1.140 +    IMPORT_C virtual CCoeControl* AsCoeControl();
   1.141 +    inline const CCoeControl* AsCoeControl() const;
   1.142 +private:
   1.143 +    IMPORT_C virtual void MEikAlertWin_Reserved2();
   1.144 +    IMPORT_C virtual void MEikAlertWin_Reserved3();
   1.145 +    };
   1.146 +
   1.147 +
   1.148 +/**
   1.149 +@publishedAll
   1.150 +@released 
   1.151 +*/
   1.152 +class MEikDebugKeys
   1.153 +    {
   1.154 +public:
   1.155 +    virtual void ConstructL() = 0;
   1.156 +    virtual void Release() = 0;
   1.157 +private:
   1.158 +    IMPORT_C virtual void MEikDebugKeys_Reserved1();
   1.159 +    IMPORT_C virtual void MEikDebugKeys_Reserved2();
   1.160 +    IMPORT_C virtual void MEikDebugKeys_Reserved3();
   1.161 +    };
   1.162 +
   1.163  #include <eikenv.inl>
   1.164 +#ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
   1.165 +#include <uikon/eikenvinterface.h>
   1.166 +#endif //SYMBIAN_ENABLE_SPLIT_HEADERS
   1.167  
   1.168  #endif	// __EIKENV_H__