1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __EIKEMBAL_H__
17 #define __EIKEMBAL_H__
30 /** Provides a list of all embeddable applications on the device.
32 Hidden applications are omitted from the list. The list is sorted by UID.
34 @see TApaAppCapability::iAppIsHidden
37 class CEikEmbeddableAppList : public CArrayFixFlat<TApaAppInfo>, public MDesCArray
40 IMPORT_C CEikEmbeddableAppList();
41 IMPORT_C ~CEikEmbeddableAppList();
42 IMPORT_C void ConstructL();
43 IMPORT_C void ConstructL(const TApaEmbeddabilityFilter& aFilter);
44 IMPORT_C CEikDocument* CreateEmbeddedDocumentL(TInt aIndex,CApaProcess* aProcess);
45 private: // from MDesCArray
46 IMPORT_C TInt MdcaCount() const;
47 IMPORT_C TPtrC MdcaPoint(TInt aIndex) const;
48 private: // Reserved methods
49 IMPORT_C virtual void CEikEmbeddableAppList_Reserved1();
50 IMPORT_C virtual void CEikEmbeddableAppList_Reserved2();
51 private: // utility methods
52 TInt GetAppListL(const TApaEmbeddabilityFilter& aFilter);
53 TInt DoGetAppListL(RApaLsSession& aLs, const TApaEmbeddabilityFilter& aFilter);
56 TInt iCEikEmbeddableAppList_Reserved1;
59 #endif // __EIKEMBAL_H__