--- a/epoc32/include/eikpicturefactory.h Tue Nov 24 13:55:44 2009 +0000
+++ b/epoc32/include/eikpicturefactory.h Tue Mar 16 16:12:26 2010 +0000
@@ -1,1 +1,65 @@
-eikpicturefactory.h
+// 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 __EIKPICTUREFACTORY_H__
+#define __EIKPICTUREFACTORY_H__
+
+#include <e32std.h> // class TUid
+#include <gdi.h> // class TPictureHeader;
+
+
+/** Provides the support for embedding something other than a CApaDoor.
+
+@publishedAll
+@released */
+class MEikPictureFactory
+ {
+public:
+ IMPORT_C virtual TUid Id() const;
+ /** Tests if the factory supports the specified picture type.
+
+ @param aPictureType The picture type.
+ @return ETrue if the factory supports the specified picture type, otherwise
+ EFalse. */
+ virtual TBool SupportsPictureType(TUid aPictureType) const=0;
+ /** Gets a pointer to the picture factory.
+
+ Use of this function does not transfer ownership of the picture factory to
+ the caller.
+
+ @param aPictureType The picture type.
+ @return Pointer to the picture factory. */
+ virtual const MPictureFactory* PictureFactory(TUid aPictureType) const=0;
+ /** Inserts a new picture object.
+
+ Ownership of aData transfers immediately the function is called.
+
+ @param aPictureType The picture type.
+ @param aData The base address of the data.
+ @return The picture header. */
+ virtual TPictureHeader InsertL(TUid aPictureType, CBase* aData)=0;
+ /** Enables editing/viewing of an object
+
+ @param aPictureHeader The picture header.
+ @param aReadOnly ETrue if object is read only, otherwise EFalse. */
+ virtual void EditL(const TPictureHeader& aPictureHeader, TBool aReadOnly)=0;
+private:
+ IMPORT_C virtual void MEikPictureFactory_Reserved_1();
+ IMPORT_C virtual void MEikPictureFactory_Reserved_2();
+ };
+
+
+#endif // __EIKPICTUREFACTORY_H__