imageeditor/plugins/RotateLPlugin/inc/ImageEditorRotateLeftPlugin.h
changeset 1 edfc90759b9f
equal deleted inserted replaced
0:57d4cdd99204 1:edfc90759b9f
       
     1 /*
       
     2 * Copyright (c) 2010 Ixonos Plc.
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - Initial contribution
       
    11 *
       
    12 * Contributors:
       
    13 * Ixonos Plc
       
    14 *
       
    15 * Description:  
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef IMAGEEDITORROTATELEFTPLUGIN_H
       
    21 #define IMAGEEDITORROTATELEFTPLUGIN_H
       
    22 
       
    23 //	INCLUDES
       
    24 #include "ImageEditorPluginBaseDefs.h"
       
    25 #include "iepb.h"
       
    26 
       
    27 //  FORWARD DECLARATIONS
       
    28 class CEditorImage;
       
    29 
       
    30 
       
    31 /*	CLASS:	CImageEditorRotateLeftPlugin
       
    32 *
       
    33 *	CImageEditorRotateLeftPlugin represents rotate left 90 degrees plug-in
       
    34 *	for Image Editor application.
       
    35 */
       
    36 class CImageEditorRotateLeftPlugin :	public CImageEditorPluginBase
       
    37 {
       
    38 
       
    39 public:
       
    40 
       
    41 /** @name Methods:*/
       
    42 //@{
       
    43 
       
    44 	/** Default constructor
       
    45 	*
       
    46 	*	@param -
       
    47 	*	@return -
       
    48 	*/
       
    49 	CImageEditorRotateLeftPlugin ();
       
    50 
       
    51 	/** Second phase constructor, may leave
       
    52 	*
       
    53 	*	@param -
       
    54 	*	@return -
       
    55 	*/
       
    56 	virtual void ConstructL ();
       
    57 
       
    58 	/** Destructor
       
    59 	*
       
    60 	*	@param -
       
    61 	*	@return -
       
    62 	*/
       
    63 	virtual ~CImageEditorRotateLeftPlugin ();
       
    64 
       
    65 	/*	SetProperty
       
    66 	*
       
    67 	*   @see CPluginBase
       
    68 	*/
       
    69 	virtual TInt SetProperty (
       
    70 		TInt		aPropertyId, 
       
    71 		TDesC &		aPropertyValue
       
    72 		);
       
    73 
       
    74 	/*	GetProperty
       
    75 	*
       
    76 	*   @see CPluginBase
       
    77 	*/
       
    78 	virtual TInt GetProperty (
       
    79 		TInt		aPropertyId, 
       
    80 		TDes  &		aPropertyValue
       
    81 		);
       
    82 
       
    83     /**	InitPluginL
       
    84 	*
       
    85 	*	@see CImageEditorPluginBase
       
    86     */
       
    87     virtual TInt InitPluginL (
       
    88 		const TRect &		aRect,
       
    89 		CCoeControl *		aParent,
       
    90 		CCoeControl *&		aPluginControl
       
    91 		);
       
    92 
       
    93     /**	ProcessImageL
       
    94 	*
       
    95 	*	@see CImageEditorPluginBase
       
    96     */
       
    97     virtual void ProcessImageL (CEditorImage * aImage);    
       
    98 
       
    99     /**	ReleasePlugin 
       
   100 	*
       
   101 	*	@see CImageEditorPluginBase
       
   102     */
       
   103 	virtual void ReleasePlugin ();    
       
   104 
       
   105 	
       
   106 //@}
       
   107 
       
   108 protected:
       
   109 
       
   110 /** @name Methods:*/
       
   111 //@{
       
   112 
       
   113 //@}
       
   114 
       
   115 /** @name Members:*/
       
   116 //@{
       
   117 
       
   118 //@}
       
   119 
       
   120 private:
       
   121 
       
   122 /** @name Methods:*/
       
   123 //@{
       
   124 
       
   125 	/** Copy constructor, disabled
       
   126 	*/
       
   127 	CImageEditorRotateLeftPlugin (const CImageEditorRotateLeftPlugin & rhs);
       
   128 
       
   129 	/** Assignment operator, disabled 
       
   130 	*/
       
   131 	CImageEditorRotateLeftPlugin & operator= (const CImageEditorRotateLeftPlugin & rhs);
       
   132 
       
   133 //@}
       
   134 
       
   135 /** @name Members:*/
       
   136 //@{
       
   137 
       
   138 //@}
       
   139 
       
   140 };
       
   141 
       
   142 
       
   143 #endif
       
   144 
       
   145 // End of File