meetingrequest/mrgui/inc/cmrimage.h
branchRCL_3
changeset 12 4ce476e64c59
parent 11 0396474f30f5
child 13 8592a65ad3fb
--- a/meetingrequest/mrgui/inc/cmrimage.h	Mon Mar 15 12:39:10 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-/*
-* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). 
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description: Declaration of CMRImage class.
-*
-*/
-
-#ifndef CMRIMAGE_H
-#define CMRIMAGE_H
-
-#include <AknsConstants.h>
-#include <AknIconUtils.h>
-#include <eikimage.h>
-
-#include "esmrfieldbuilderdef.h"
-#include "nmrbitmapmanager.h"
-
-/**
- *  CMRImage is icon component for fields 
- */
-NONSHARABLE_CLASS( CMRImage ) : public CEikImage
-    {
-public:
-    /**
-     * Two-phased constructor.
-     *
-     * @param 
-     * @return Pointer to created and initialized mr image object.
-     */
-     IMPORT_C static CMRImage* NewL( 
-             const TAknsItemID& aIconId, 
-             TScaleMode aScaleMode = EAspectRatioPreserved );
-     IMPORT_C static CMRImage* NewL(
-             NMRBitmapManager::TMRBitmapId aBitmapId, 
-             TScaleMode aScaleMode = EAspectRatioPreserved );
-
-    /**
-     * C++ Destructor
-     */
-    IMPORT_C virtual ~CMRImage();
-    
-    void SizeChanged();
-
-private:
-    /**
-     * C++ default constructor
-     */
-    CMRImage( TScaleMode aScaleMode );
-    void ConstructL( const TAknsItemID& aIconId );
-    void ConstructL( NMRBitmapManager::TMRBitmapId aBitmapId );
-    void SetBitmapFallback( 
-            const TAknsItemID& aIconId,
-            TInt& aFileIndex,
-            TInt& aFileMaskIndex );
-    void CreateIconL( const TAknsItemID& aIconId);
-    void CreateIconL( NMRBitmapManager::TMRBitmapId aBitmapId );
-    
-private:
-    TScaleMode iScaleMode;
-    };
-
-#endif //CMRIMAGE_H
-
-// EOF