meetingrequest/mrgui/mrfieldbuilderplugin/inc/cesmrviewerrecurrencefield.h
branchRCL_3
changeset 33 da5135c61bad
parent 0 8466d47a6819
equal deleted inserted replaced
32:a3a1ae9acec6 33:da5135c61bad
     1 /*
     1 /*
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). 
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    35          * Creates new CESMRViewerRecurrenceField object. Ownership
    35          * Creates new CESMRViewerRecurrenceField object. Ownership
    36          * is transferred to caller.
    36          * is transferred to caller.
    37          * @return Pointer to created object,
    37          * @return Pointer to created object,
    38          */
    38          */
    39         static CESMRViewerRecurrenceField* NewL();
    39         static CESMRViewerRecurrenceField* NewL();
    40     
    40 
    41         /**
    41         /**
    42          * C++ destructor
    42          * C++ destructor
    43          */
    43          */
    44         ~CESMRViewerRecurrenceField();
    44         ~CESMRViewerRecurrenceField();
    45     
    45 
    46     public: // From CESMRField
    46     public: // From CESMRField
    47         void InternalizeL( MESMRCalEntry& aEntry );
    47         void InternalizeL( MESMRCalEntry& aEntry );
    48         void InitializeL();
    48         void InitializeL();
    49         void SetOutlineFocusL( TBool aFocus );
    49         void SetOutlineFocusL( TBool aFocus );
    50         
    50         void LockL();
       
    51         TBool ExecuteGenericCommandL( TInt aCommand );
       
    52 
    51     public: // From CCoeControl
    53     public: // From CCoeControl
    52         void SizeChanged();
    54         void SizeChanged();
    53         TInt CountComponentControls() const;
    55         TInt CountComponentControls() const;
    54         CCoeControl* ComponentControl( TInt aIndex ) const;
    56         CCoeControl* ComponentControl( TInt aIndex ) const;
    55         
    57 
    56     private: // Implementation
    58     private: // Implementation
    57         CESMRViewerRecurrenceField();
    59         CESMRViewerRecurrenceField();
    58         void ConstructL();
    60         void ConstructL();
    59         
    61 
    60     private: // Data
    62     private: // Data
    61         /// Own: The recurrence topic field
    63         /// Not own: The recurrence topic field
    62         CMRLabel* iLabel;
    64         CMRLabel* iLabel;
    63         /// Own: Recurrence icon (default)
    65         /// Owned: Recurrence icon (default)
    64         CMRImage* iIcon;
    66         CMRImage* iIcon;
       
    67         // Own: lock icon
       
    68         CMRImage* iLockIcon;
    65     };
    69     };
    66 
    70 
    67 #endif // __CESMRVIEWERRECURRENCEFIELD_H__
    71 #endif // __CESMRVIEWERRECURRENCEFIELD_H__