imagingandcamerafws/imagingfws/ImageProcessor/inc/imageprocessorplugin.h
branchRCL_3
changeset 50 948c7f65f6d4
parent 0 40261b775718
equal deleted inserted replaced
49:735348f59235 50:948c7f65f6d4
       
     1 // Copyright (c) 2008-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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @publishedPartner 
       
    19  @released 
       
    20 */
       
    21 
       
    22 #ifndef __IMAGE_PROCESSOR_PLUGIN_H__
       
    23 #define __IMAGE_PROCESSOR_PLUGIN_H__
       
    24 
       
    25 #include <e32base.h>
       
    26 #include <gdi.h>
       
    27 #include <imageprocessor/imageprocessor.h>
       
    28 
       
    29 class RFs;
       
    30 class CFbsBitmap;
       
    31 class CImageFrame;
       
    32 class TMMSource;
       
    33 
       
    34 namespace ImageProcessor
       
    35 	{
       
    36 	class MImgProcessorPluginObserver;
       
    37 
       
    38 	/** @publishedPartner
       
    39 	@released
       
    40 	ECOM plugin namespace for ImageProcessor.
       
    41 	*/
       
    42 	namespace Plugin
       
    43 		{
       
    44 		class MEffect;
       
    45 		class MPreview;
       
    46 		class MOverlay;
       
    47 		class MProgressInfo;
       
    48 		class MInputInfo;
       
    49 		class MOutputInfo;
       
    50 		}
       
    51 /**
       
    52 Mixin class for implementation by providers of the Image Processor Plugin.
       
    53 
       
    54 @see	CImgProcessor
       
    55 
       
    56 @publishedPartner
       
    57 @released
       
    58 */	
       
    59 class MImgProcessorPlugin
       
    60 	{
       
    61 public:
       
    62 	/**
       
    63 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetFileServerSession(RFs& aFileServerSession)
       
    64 	
       
    65 	@see CImgProcessor::SetFileServerSession(RFs& aFileServerSession)
       
    66 	*/	
       
    67 	virtual void SetFileServerSession(RFs& aFileServerSession) = 0;
       
    68 
       
    69 	/**
       
    70 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetObserver(MImgProcessorPluginObserver& aObserver)
       
    71 	
       
    72 	@see CImgProcessor::SetObserver(MImgProcessorPluginObserver& aObserver)
       
    73 	*/	
       
    74 	virtual void SetObserver(MImgProcessorPluginObserver& aObserver) = 0;
       
    75    
       
    76 	/**
       
    77 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedEffectsL(RArray<TUid>& aEffects)
       
    78 	
       
    79 	@see CImgProcessor::SupportedEffectsL(RArray<TUid>& aEffects)
       
    80 	*/	
       
    81 	virtual void SupportedEffectsL(RArray<TUid>& aEffects) const = 0;
       
    82 	
       
    83 	/**
       
    84 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedInputFormatsL(RArray<TUid>& aFormats)
       
    85 	
       
    86 	@see CImgProcessor::SupportedInputFormatsL(RArray<TUid>& aFormats)
       
    87 	*/	
       
    88 	virtual void SupportedInputFormatsL(RArray<TUid>& aFormats) const = 0;
       
    89 
       
    90 	/**
       
    91 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedInputSubFormatsL(TUid aFormat, RArray<TUid>& aSubFormats)
       
    92 	
       
    93 	@see CImgProcessor::SupportedInputSubFormatsL(TUid aFormat, RArray<TUid>& aSubFormats)
       
    94 	*/	
       
    95 	virtual void SupportedInputSubFormatsL(TUid aFormat, RArray<TUid>& aSubFormats) const = 0;
       
    96 
       
    97 	/**
       
    98 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedInputImageFrameFormatsL(RArray<TUid>& aFormats)
       
    99 	
       
   100 	@see CImgProcessor::SupportedInputImageFrameFormatsL(RArray<TUid>& aFormats)
       
   101 	*/	
       
   102 	virtual void SupportedInputImageFrameFormatsL(RArray<TUid>& aFormats) const = 0;
       
   103 	
       
   104 	/**
       
   105 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedInputDisplayModesL((RArray<TDisplayMode>& aDisplayModes)
       
   106 	
       
   107 	@see CImgProcessor::SupportedInputDisplayModesL((RArray<TDisplayMode>& aDisplayModes)
       
   108 	*/	
       
   109 	virtual void SupportedInputDisplayModesL(RArray<TDisplayMode>& aDisplayModes) const = 0;
       
   110 	
       
   111 	/**
       
   112 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOutputFormatsL(RArray<TUid>& aFormats)
       
   113 	
       
   114 	@see CImgProcessor::SupportedOutputFormatsL(RArray<TUid>& aFormats)
       
   115 	*/	
       
   116 	virtual void SupportedOutputFormatsL(RArray<TUid>& aFormats) const = 0;
       
   117 
       
   118 	/**
       
   119 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOutputSubFormatsL(TUid aFormat, RArray<TUid>& aSubFormats)
       
   120 	
       
   121 	@see CImgProcessor::SupportedOutputSubFormatsL(TUid aFormat, RArray<TUid>& aSubFormats)
       
   122 	*/	
       
   123 	virtual void SupportedOutputSubFormatsL(TUid aFormat, RArray<TUid>& aSubFormats) const = 0;
       
   124 
       
   125 	/**
       
   126 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOutputImageFrameFormatsL(RArray<TUid>& aFormats
       
   127 	
       
   128 	@see CImgProcessor::SupportedOutputImageFrameFormatsL(RArray<TUid>& aFormats
       
   129 	*/	
       
   130 	virtual void SupportedOutputImageFrameFormatsL(RArray<TUid>& aFormats) const = 0;
       
   131 
       
   132 	/**
       
   133 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOutputDisplayModesL((RArray<TDisplayMode>& aDisplayModes)
       
   134 	
       
   135 	@see CImgProcessor::SupportedOutputDisplayModesL((RArray<TDisplayMode>& aDisplayModes)
       
   136 	*/	
       
   137 	virtual void SupportedOutputDisplayModesL(RArray<TDisplayMode>& aDisplayModes) const = 0;
       
   138 		
       
   139 	/**
       
   140 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedPreviewOutputImageFrameFormatsL(RArray<TUid>& aFormats)
       
   141 	
       
   142 	@see CImgProcessor::SupportedPreviewOutputImageFrameFormatsL(RArray<TUid>& aFormats)
       
   143 	*/	
       
   144 	virtual void SupportedPreviewOutputImageFrameFormatsL(RArray<TUid>& aFormats) const = 0;
       
   145 	
       
   146 	/**
       
   147 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedPreviewOutputDisplayModesL(RArray<TDisplayMode>& aDisplayModes)
       
   148 	
       
   149 	@see CImgProcessor::SupportedPreviewOutputDisplayModesL(RArray<TDisplayMode>& aDisplayModes)
       
   150 	*/	
       
   151 	virtual void SupportedPreviewOutputDisplayModesL(RArray<TDisplayMode>& aDisplayModes) const = 0;
       
   152 	
       
   153 	/**
       
   154 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOverlayInputFormatsL(RArray<TUid>& aFormats)
       
   155 	
       
   156 	@see CImgProcessor::SupportedOverlayInputFormatsL(RArray<TUid>& aFormats)
       
   157 	*/	
       
   158 	virtual void SupportedOverlayInputFormatsL(RArray<TUid>& aFormats) const = 0;
       
   159 
       
   160 	/**
       
   161 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOverlayInputImageFrameFormatsL(RArray<TUid>& aFormats)
       
   162 	
       
   163 	@see CImgProcessor::SupportedOverlayInputImageFrameFormatsL(RArray<TUid>& aFormats)
       
   164 	*/	
       
   165 	virtual void SupportedOverlayInputImageFrameFormatsL(RArray<TUid>& aFormats) const = 0;
       
   166 
       
   167 	/**
       
   168 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOverlayInputDisplayModesL(RArray<TDisplayMode>& aDisplayModes)
       
   169 	
       
   170 	@see CImgProcessor::SupportedOverlayInputDisplayModesL(RArray<TDisplayMode>& aDisplayModes)
       
   171 	*/	
       
   172 	virtual void SupportedOverlayInputDisplayModesL(RArray<TDisplayMode>& aDisplayModes) const = 0;
       
   173 	
       
   174 	/**
       
   175 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOptions()
       
   176 	
       
   177 	@see CImgProcessor::SupportedOptions()
       
   178 	*/	
       
   179 	virtual TUint64 SupportedOptions() const = 0;
       
   180 
       
   181 	/**
       
   182 	A derived class must provide an implementation of this method as defined by CImgProcessor::SupportedOperations()
       
   183 	
       
   184 	@see CImgProcessor::SupportedOperations()
       
   185 	*/	
       
   186 	virtual TUint SupportedOperations() const = 0;
       
   187 
       
   188 	/**
       
   189 	A derived class must provide an implementation of this method as defined by CImgProcessor::CurrentSizeL()
       
   190 	
       
   191 	@see CImgProcessor::CurrentSizeL()
       
   192 	*/	
       
   193 	virtual TSize CurrentSizeL() const = 0;
       
   194 
       
   195 	/**
       
   196 	A derived class must provide an implementation of this method as defined by CImgProcessor::BackgroundColorL()
       
   197 	
       
   198 	@see CImgProcessor::BackgroundColorL()
       
   199 	*/	
       
   200 	virtual TRgb BackgroundColorL() const = 0;
       
   201 	
       
   202 	/**
       
   203 	A derived class must provide an implementation of this method as defined by CImgProcessor::CalculatePixelBufferSizeL(TSize aSizeInPixels, TDisplayMode aDisplayMode, TUint32 aScanLineLength)
       
   204 	
       
   205 	@see CImgProcessor::CalculatePixelBufferSizeL(TSize aSizeInPixels, TDisplayMode aDisplayMode, TUint32 aScanLineLength)
       
   206 	*/	
       
   207 	virtual TInt CalculatePixelBufferSizeL(TSize aSizeInPixels, TDisplayMode aDisplayMode, TUint32 aScanLineLength) const = 0;
       
   208 
       
   209 	/**
       
   210 	A derived class must provide an implementation of this method as defined by CImgProcessor::CalculatePixelBufferSizeL(TSize aSizeInPixels, const TUid& aFormat, TUint32 aScanLineLength = 0)
       
   211 	
       
   212 	@see CImgProcessor::CalculatePixelBufferSizeL(TSize aSizeInPixels, const TUid& aFormat, TUint32 aScanLineLength = 0)
       
   213 	*/	
       
   214 	virtual TInt CalculatePixelBufferSizeL(TSize aSizeInPixels, const TUid& aFormat, TUint32 aScanLineLength = 0) const = 0;
       
   215 
       
   216 	/**
       
   217 	A derived class must provide an implementation of this method as defined by CImgProcessor::CreateInputL(CFbsBitmap& aBitmap)
       
   218 	
       
   219 	@see CImgProcessor::CreateInputL(CFbsBitmap& aBitmap)
       
   220 	*/	
       
   221 	virtual void CreateInputL(CFbsBitmap& aBitmap) = 0;
       
   222 
       
   223 	/**
       
   224 	A derived class must provide an implementation of this method as defined by CImgProcessor::CreateInputL(CImageFrame& aPixelBuffer)
       
   225 	
       
   226 	@see CImgProcessor::CreateInputL(CImageFrame& aPixelBuffer)
       
   227 	*/	
       
   228 	virtual void CreateInputL(CImageFrame& aPixelBuffer) = 0;
       
   229 
       
   230 	/**
       
   231 	A derived class must provide an implementation of this method as defined by CImgProcessor::CreateInputL(const TSize& aSize, const TRgb& aColor)
       
   232 	
       
   233 	@see CImgProcessor::CreateInputL(const TSize& aSize, const TRgb& aColor)
       
   234 	*/	
       
   235 	virtual void CreateInputL(const TSize& aSize, const TRgb& aColor) = 0;
       
   236 
       
   237 	/**
       
   238 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetBackgroundColorL(const TRgb& aColor)
       
   239 	
       
   240 	@see CImgProcessor::SetBackgroundColorL(const TRgb& aColor)
       
   241 	*/	
       
   242 	virtual void SetBackgroundColorL(const TRgb& aColor) = 0;
       
   243 
       
   244 	/**
       
   245 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetInputRectL(const TRect& aRect)
       
   246 	
       
   247 	@see CImgProcessor::SetInputRectL(const TRect& aRect)
       
   248 	*/	
       
   249 	virtual void SetInputRectL(const TRect& aRect) = 0;
       
   250 	
       
   251 	/**
       
   252 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetInputL(const TDesC& aFilename, const TUid& aFormat, const TUid& aSubFormat)
       
   253 	
       
   254 	@see CImgProcessor::SetInputL(const TDesC& aFilename, const TUid& aFormat, const TUid& aSubFormat)
       
   255 	*/	
       
   256 	virtual void SetInputL(const TDesC& aFilename, const TUid& aFormat, const TUid& aSubFormat) = 0;
       
   257 
       
   258 	/**
       
   259 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetInputL(RFile& aFile, const TUid& aFormat, const TUid& aSubFormat)
       
   260 	
       
   261 	@see CImgProcessor::SetInputL(RFile& aFile, const TUid& aFormat, const TUid& aSubFormat)
       
   262 	*/	
       
   263 	virtual void SetInputL(RFile& aFile, const TUid& aFormat, const TUid& aSubFormat) = 0;
       
   264 
       
   265 	/**
       
   266 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetInputL(TMMSource& aDrmFile, const TUid& aFormat, const TUid& aSubFormat)
       
   267 	
       
   268 	@see CImgProcessor::SetInputL(TMMSource& aDrmFile, const TUid& aFormat, const TUid& aSubFormat)
       
   269 	*/	
       
   270 	virtual void SetInputL(TMMSource& aDrmFile, const TUid& aFormat, const TUid& aSubFormat) = 0;
       
   271 	/**
       
   272 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetInputL(const TDesC8& aBuffer, const TUid& aFormat, const TUid& aSubFormat)
       
   273 	
       
   274 	@see CImgProcessor::SetInputL(const TDesC8& aBuffer, const TUid& aFormat, const TUid& aSubFormat)
       
   275 	*/	
       
   276 	virtual void SetInputL(const TDesC8& aBuffer, const TUid& aFormat, const TUid& aSubFormat) = 0;
       
   277 
       
   278 	/**
       
   279 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetInputL(const CFbsBitmap& aBitmap, const CFbsBitmap* aMask)
       
   280 	
       
   281 	@see CImgProcessor::SetInputL(const CFbsBitmap& aBitmap, const CFbsBitmap* aMask)
       
   282 	*/	
       
   283 	virtual void SetInputL(const CFbsBitmap& aBitmap, const CFbsBitmap* aMask) = 0;
       
   284 
       
   285 	/**
       
   286 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetInputL(const CImageFrame& aPixelBuffer)
       
   287 	
       
   288 	@see CImgProcessor::SetInputL(const CImageFrame& aPixelBuffer)
       
   289 	*/	
       
   290 	virtual void SetInputL(const CImageFrame& aPixelBuffer) = 0;
       
   291 
       
   292 	/**
       
   293 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetOptionsL(TUint64 aOptions)
       
   294 	
       
   295 	@see CImgProcessor::SetOptionsL(TUint64 aOptions)
       
   296 	*/	
       
   297 	virtual void SetOptionsL(TUint64 aOptions) = 0;
       
   298 
       
   299 	/**
       
   300 	A derived class must provide an implementation of this method as defined by CImgProcessor::ApplyOperationL(CImgProcessor::TOperation aOperation)
       
   301 	
       
   302 	@see CImgProcessor::ApplyOperationL(CImgProcessor::TOperation aOperation)
       
   303 	*/	
       
   304 	virtual void ApplyOperationL(CImgProcessor::TOperation aOperation) = 0;
       
   305 
       
   306 	/**
       
   307 	A derived class must provide an implementation of this method as defined by CImgProcessor::InputUpdatedL()
       
   308 	
       
   309 	@see CImgProcessor::InputUpdatedL()
       
   310 	*/	
       
   311 	virtual void InputUpdatedL() = 0;
       
   312 
       
   313 	/**
       
   314 	A derived class must provide an implementation of this method as defined by CImgProcessor::ResetL()
       
   315 	
       
   316 	@see CImgProcessor::ResetL()
       
   317 	*/	
       
   318 	virtual void ResetL() = 0;
       
   319 
       
   320 	/**
       
   321 	A derived class must provide an implementation of this method as defined by CImgProcessor::InitializeL()
       
   322 	
       
   323 	@see CImgProcessor::InitializeL()
       
   324 	*/	
       
   325 	virtual void InitializeL() = 0;
       
   326    
       
   327 	/**
       
   328 	A derived class must provide an implementation of this method as defined by CImgProcessor::ProcessL(const TSize& aSize, TBool aMaintainAspectRatio)
       
   329 	
       
   330 	@see CImgProcessor::ProcessL(const TSize& aSize, TBool aMaintainAspectRatio)
       
   331 	*/	
       
   332 	virtual void ProcessL(const TSize& aSize, TBool aMaintainAspectRatio) = 0;
       
   333 
       
   334 	/**
       
   335 	A derived class must provide an implementation of this method as defined by CImgProcessor::Cancel()
       
   336 	
       
   337 	@see CImgProcessor::Cancel()
       
   338 	*/	
       
   339 	virtual void Cancel() = 0;
       
   340 
       
   341 	/**
       
   342 	A derived class must provide an implementation of this method as defined by CImgProcessor::CanUndoL()
       
   343 	
       
   344 	@see CImgProcessor::CanUndoL()
       
   345 	*/	
       
   346 	virtual TBool CanUndoL() const = 0;
       
   347 
       
   348 	/**
       
   349 	A derived class must provide an implementation of this method as defined by CImgProcessor::UndoL()
       
   350 	
       
   351 	@see CImgProcessor::UndoL()
       
   352 	*/	
       
   353 	virtual void UndoL() = 0;
       
   354 
       
   355 	/**
       
   356 	A derived class must provide an implementation of this method as defined by CImgProcessor::UndoAllL()
       
   357 	
       
   358 	@see CImgProcessor::UndoAllL()
       
   359 	*/	
       
   360 	virtual void UndoAllL() = 0;
       
   361 	
       
   362 	/**
       
   363 	A derived class must provide an implementation of this method as defined by CImgProcessor::CanRedoL()
       
   364 	
       
   365 	@see CImgProcessor::CanRedoL()
       
   366 	*/	
       
   367 	virtual TBool CanRedoL() const = 0;
       
   368 
       
   369 	/**
       
   370 	A derived class must provide an implementation of this method as defined by CImgProcessor::RedoL()
       
   371 	
       
   372 	@see CImgProcessor::RedoL()
       
   373 	*/	
       
   374 	virtual void RedoL() = 0;
       
   375 
       
   376 	/**
       
   377 	A derived class must provide an implementation of this method as defined by CImgProcessor::RedoAllL()
       
   378 	
       
   379 	@see CImgProcessor::RedoAllL()
       
   380 	*/	
       
   381 	virtual void RedoAllL() = 0;
       
   382 
       
   383 	/**
       
   384 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetOutputL(const TDesC& aFilename, const TUid& aFormat, const TUid& aSubFormat)
       
   385 	
       
   386 	@see CImgProcessor::SetOutputL(const TDesC& aFilename, const TUid& aFormat, const TUid& aSubFormat)
       
   387 	*/	
       
   388 	virtual void SetOutputL(const TDesC& aFilename, const TUid& aFormat, const TUid& aSubFormat) = 0;
       
   389 
       
   390 	/**
       
   391 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetOutputL(RFile& aFile, const TUid& aFormat, const TUid& aSubFormat)
       
   392 	
       
   393 	@see CImgProcessor::SetOutputL(RFile& aFile, const TUid& aFormat, const TUid& aSubFormat)
       
   394 	*/	
       
   395 	virtual void SetOutputL(RFile& aFile, const TUid& aFormat, const TUid& aSubFormat) = 0;
       
   396 
       
   397 	/**
       
   398 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetOutputL(RBuf8& aBuffer, const TUid& aFormat, const TUid& aSubFormat)
       
   399 	
       
   400 	@see CImgProcessor::SetOutputL(RBuf8& aBuffer, const TUid& aFormat, const TUid& aSubFormat)
       
   401 	*/	
       
   402 	virtual void SetOutputL(RBuf8& aBuffer, const TUid& aFormat, const TUid& aSubFormat) = 0;
       
   403 
       
   404 	/**
       
   405 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetOutputL(CImageFrame& aPixelBuffer)
       
   406 	
       
   407 	@see CImgProcessor::SetOutputL(CImageFrame& aPixelBuffer)
       
   408 	*/	
       
   409 	virtual void SetOutputL(CImageFrame& aPixelBuffer) = 0;
       
   410 
       
   411 	/**
       
   412 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetOutputL(CFbsBitmap& aBitmap, CFbsBitmap* aMask)
       
   413 	
       
   414 	@see CImgProcessor::SetOutputL(CFbsBitmap& aBitmap, CFbsBitmap* aMask)
       
   415 	*/	
       
   416 	virtual void SetOutputL(CFbsBitmap& aBitmap, CFbsBitmap* aMask) = 0;
       
   417 
       
   418 	/**
       
   419 	A derived class must provide an implementation of this method as defined by CImgProcessor::Extension(TUid aExtension)
       
   420 	
       
   421 	@see CImgProcessor::Extension(TUid aExtension)
       
   422 	*/	
       
   423 	virtual TAny* Extension(TUid aExtension) = 0;
       
   424 
       
   425    	//Ownership is not transferred
       
   426 	/**
       
   427 	A derived class must provide an implementation of this method as defined by CImgProcessor::PreviewL(TInt aPreviewId)
       
   428 	
       
   429 	@see CImgProcessor::PreviewL(TInt aPreviewId)
       
   430 	*/	
       
   431 	virtual Plugin::MPreview* PreviewL(TInt aPreviewId) = 0;
       
   432 
       
   433 	/**
       
   434 	A derived class must provide an implementation of this method as defined by CImgProcessor::OverlayL()
       
   435 	
       
   436 	@see CImgProcessor::OverlayL()
       
   437 	*/	
       
   438 	virtual Plugin::MOverlay* OverlayL() = 0;
       
   439 
       
   440 	/**
       
   441 	A derived class must provide an implementation of this method as defined by CImgProcessor::ProgressInfoL()
       
   442 	
       
   443 	@see CImgProcessor::ProgressInfoL()
       
   444 	*/	
       
   445 	virtual Plugin::MProgressInfo* ProgressInfoL() = 0;
       
   446 
       
   447 	/**
       
   448 	A derived class must provide an implementation of this method as defined by CImgProcessor::InputInfoL()
       
   449 	
       
   450 	@see CImgProcessor::InputInfoL()
       
   451 	*/	
       
   452 	virtual Plugin::MInputInfo* InputInfoL() = 0;
       
   453 
       
   454 	/**
       
   455 	A derived class must provide an implementation of this method as defined by CImgProcessor::OutpputInfoL()
       
   456 	
       
   457 	@see CImgProcessor::OutputInfoL()
       
   458 	*/	
       
   459 	virtual Plugin::MOutputInfo* OutputInfoL() = 0;
       
   460 
       
   461 	/**
       
   462 	A derived class must provide an implementation of this method as defined by CImgProcessor::EffectL(TUid aEffectId)
       
   463 	
       
   464 	@see CImgProcessor::EffectL(TUid aEffectId)
       
   465 	*/	
       
   466    	virtual Plugin::MEffect* EffectL(TUid aEffectId) = 0;
       
   467    	
       
   468 	/**
       
   469 	A derived class must provide an implementation of this method to destroy plugin and release all allocated memory
       
   470 	*/	
       
   471 	virtual void Destroy() = 0;
       
   472 
       
   473 	/**
       
   474 	A derived class must provide an implementation of this method to clean up unauthorized output.
       
   475 	*/	
       
   476 	virtual void CleanupOutput() = 0;
       
   477 
       
   478 	/**
       
   479 	A derived class must provide an implementation of this method to clean up effects.
       
   480 	*/	
       
   481 	virtual void CleanupEffects() = 0;
       
   482    	};
       
   483    	
       
   484    	/**
       
   485 Mixin class for implementation by providers of extended functionality for Image Processor Plugin.
       
   486 The class provides a function to set an panoramic image as input to Image Processor. The implementation of 
       
   487 the class is provided through MImgProcessorPlugin::Extension(TUid aExtension).
       
   488 @see	CImgProcessor
       
   489 @see	MImgProcessorPlugin::Extension(TUid aExtension)
       
   490 
       
   491 @publishedPartner
       
   492 @released
       
   493 */	
       
   494 class MImgProcessorPluginPanoramaInput
       
   495 	{
       
   496 public:
       
   497 	/**
       
   498 	A derived class must provide an implementation of this method as defined by CImgProcessor::SetInputL(CImagePanorama& aPanorama)
       
   499 	
       
   500 	@see CImgProcessor::SetInputL(CImagePanorama& aPanorama)
       
   501 	*/	
       
   502 	virtual void SetInputL(CImagePanorama& aPanorama) = 0;
       
   503 	};	
       
   504 
       
   505 	}//	namespace ImageProcessor
       
   506 
       
   507 #endif //__IMAGE_PROCESSOR_PLUGIN_H__