meetingrequest/mrgui/mrfieldbuilderplugin/inc/cesmrviewerpriorityfield.h
changeset 0 8466d47a6819
child 12 4ce476e64c59
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/meetingrequest/mrgui/mrfieldbuilderplugin/inc/cesmrviewerpriorityfield.h	Thu Dec 17 08:39:21 2009 +0200
@@ -0,0 +1,53 @@
+/*
+* Copyright (c) 2007-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:  Priority field for viewers
+*
+*/
+
+
+#ifndef __CESMRVIEWERPRIORITYFIELD_H__
+#define __CESMRVIEWERPRIORITYFIELD_H__
+
+#include <eikrted.h>
+#include <eikedwob.h>
+
+#include "cesmrviewerlabelfield.h"
+
+/**
+ * This class shows the priority of the event
+ */
+NONSHARABLE_CLASS( CESMRViewerPriorityField ) : public CESMRViewerLabelField
+    {
+public:
+    /**
+     * Creates new CESMRViewerPriorityField object. Ownership
+     * is transferred to caller.
+     * @return Pointer to created object,
+     */
+    static CESMRViewerPriorityField* NewL();
+    
+    /**
+     * C++ Destructor.
+     */
+    ~CESMRViewerPriorityField();
+    
+public: // From CESMRField
+    void InternalizeL( MESMRCalEntry& aEntry );
+    
+private: // Implementation
+    CESMRViewerPriorityField();
+    void ConstructL();
+    };
+
+#endif //__CESMRVIEWERPRIORITYFIELD_H__