epoc32/include/eikpicturefactory.h
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/eikpicturefactory.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,65 +0,0 @@
     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 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 -
    1.19 -
    1.20 -#ifndef __EIKPICTUREFACTORY_H__
    1.21 -#define __EIKPICTUREFACTORY_H__
    1.22 -
    1.23 -#include <e32std.h>		// class TUid
    1.24 -#include <gdi.h>		// class TPictureHeader;
    1.25 -
    1.26 -
    1.27 -/** Provides the support for embedding something other than a CApaDoor. 
    1.28 -
    1.29 -@publishedAll 
    1.30 -@released */
    1.31 -class MEikPictureFactory
    1.32 -	{
    1.33 -public:
    1.34 -	IMPORT_C virtual TUid Id() const;
    1.35 -	/** Tests if the factory supports the specified picture type.
    1.36 -	
    1.37 -	@param aPictureType The picture type.
    1.38 -	@return ETrue if the factory supports the specified picture type, otherwise 
    1.39 -	EFalse. */
    1.40 -	virtual TBool SupportsPictureType(TUid aPictureType) const=0;
    1.41 -	/** Gets a pointer to the picture factory.
    1.42 -	
    1.43 -	Use of this function does not transfer ownership of the picture factory to 
    1.44 -	the caller.
    1.45 -	
    1.46 -	@param aPictureType The picture type.
    1.47 -	@return Pointer to the picture factory. */
    1.48 -	virtual const MPictureFactory* PictureFactory(TUid aPictureType) const=0;
    1.49 -	/** Inserts a new picture object. 
    1.50 -	
    1.51 -	Ownership of aData transfers immediately the function is called.
    1.52 -	
    1.53 -	@param aPictureType The picture type.
    1.54 -	@param aData The base address of the data.
    1.55 -	@return The picture header. */
    1.56 -	virtual TPictureHeader InsertL(TUid aPictureType, CBase* aData)=0;
    1.57 -	/** Enables editing/viewing of an object
    1.58 -	
    1.59 -	@param aPictureHeader The picture header.
    1.60 -	@param aReadOnly ETrue if object is read only, otherwise EFalse. */
    1.61 -	virtual void EditL(const TPictureHeader& aPictureHeader, TBool aReadOnly)=0;
    1.62 -private:
    1.63 -	IMPORT_C virtual void MEikPictureFactory_Reserved_1();
    1.64 -	IMPORT_C virtual void MEikPictureFactory_Reserved_2();
    1.65 -	};
    1.66 -
    1.67 -
    1.68 -#endif 	// __EIKPICTUREFACTORY_H__