diff -r 666f914201fb -r 2fe1408b6811 epoc32/include/eiklibry.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/epoc32/include/eiklibry.h Tue Mar 16 16:12:26 2010 +0000 @@ -0,0 +1,69 @@ +// 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 +// which accompanies this distribution, and is available +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +#ifndef __EIKLIBRY_H__ +#define __EIKLIBRY_H__ + +#include +#include +#include + +/** +@publishedPartner +@released +*/ +typedef SEikControlInfo (*TCreateByTypeFunction)(TInt); + + +/** +Abstract base class specifying the interface for a dynamically-loaded DLL +which goes on to configure other Uikon statically-loaded DLLs. + +@publishedPartner +@deprecated +*/ +class CEikLibrary : public CBase + { +public: + // When EikEnv dynamically loads a DLL, it calls its InitializeL function + // which will set up any variables which EikEnv requires. + virtual void InitializeL() = 0; + // These functions give the EikEnv access to the libraries + // resources and Control Factories. + virtual CArrayFix* ResourceFileArrayL() const = 0; + virtual CArrayFix* ControlFactoryArrayL() const = 0; + IMPORT_C virtual void PostAppUiInitializeL(); + }; + + +/** +Abstract base class specifying the interface for a ECom plugin DLL +which goes on to configure other Uikon statically-loaded DLLs. + +@publishedPartner +@released +*/ +class CEikLibrary2 : public CEikLibrary + { +public: + // Destructor. + IMPORT_C virtual ~CEikLibrary2(); + IMPORT_C static CEikLibrary2* LoadLibraryL(TUid aImplementationUid); +private: + // UID of the implementation instantiated. + TUid iDtrkey; + }; + +#endif // __EIKLIBRY_H__