meetingrequest/mrgui/mrfieldbuilderpluginextension/inc/cesmrviewerattendeesfield.h
branchRCL_3
changeset 16 b5fbb9b25d57
parent 12 4ce476e64c59
child 22 d620048b4810
equal deleted inserted replaced
14:b13141f05c3d 16:b5fbb9b25d57
    47     /**
    47     /**
    48      * C++ Destructor.
    48      * C++ Destructor.
    49      */
    49      */
    50     ~CESMRViewerAttendeesField( );
    50     ~CESMRViewerAttendeesField( );
    51 
    51 
    52 public: // From CCoeControl
    52 protected: // From CCoeControl
    53     TInt CountComponentControls( ) const;
    53     TInt CountComponentControls( ) const;
    54     CCoeControl* ComponentControl( TInt aInd ) const;
    54     CCoeControl* ComponentControl( TInt aInd ) const;
    55     void SizeChanged( );
    55     void SizeChanged( );
    56     TKeyResponse OfferKeyEventL( const TKeyEvent& aEvent, TEventCode aType );
    56     TKeyResponse OfferKeyEventL( const TKeyEvent& aEvent, TEventCode aType );
    57     void SetContainerWindowL(const CCoeControl& aContainer);
    57     void SetContainerWindowL(const CCoeControl& aContainer);
    58     TSize MinimumSize();
    58     TSize MinimumSize();
    59 
    59 
    60 public: // From CESMRField
    60 protected: // From CESMRField
    61     void InitializeL();
    61     void InitializeL();
    62     void SetOutlineFocusL( TBool aFocus );
    62     void SetOutlineFocusL( TBool aFocus );
    63     void InternalizeL( MESMRCalEntry& aEntry );
    63     void InternalizeL( MESMRCalEntry& aEntry );
    64     void GetMinimumVisibleVerticalArea(TInt& aUpper, TInt& aLower);
    64     void GetMinimumVisibleVerticalArea(TInt& aUpper, TInt& aLower);
    65     void GetCursorLineVerticalPos(TInt& aUpper, TInt& aLower);
    65     void GetCursorLineVerticalPos(TInt& aUpper, TInt& aLower);
    66     void ListObserverSet( );
    66     void ListObserverSet( );
    67     TBool ExecuteGenericCommandL( TInt aCommand );
    67     TBool ExecuteGenericCommandL( TInt aCommand );
    68     void HandleLongtapEventL( const TPoint& aPosition );
       
    69 
    68 
    70 public: // From MEikEdwinSizeObserver
    69 protected: // From MEikEdwinSizeObserver
    71     TBool HandleEdwinSizeEventL(CEikEdwin* aEdwin, TEdwinSizeEvent aType,
    70     TBool HandleEdwinSizeEventL(CEikEdwin* aEdwin, TEdwinSizeEvent aType,
    72             TSize aDesirableEdwinSize );
    71             TSize aDesirableEdwinSize );
    73 
    72 
    74 public: // From MESMRRichTextObserver
    73 protected: // From MESMRRichTextObserver
    75     TBool HandleRichTextLinkSelection(const CESMRRichTextLink* aLink );
    74     TBool HandleRichTextLinkSelection(const CESMRRichTextLink* aLink );
    76 
    75 
    77 private: // Implementation
    76 private: // Implementation
    78     CESMRViewerAttendeesField( CCalAttendee::TCalRole aType );
    77     CESMRViewerAttendeesField( CCalAttendee::TCalRole aType );
    79     void ConstructL( );
    78     void ConstructL( );
    85 private: // data
    84 private: // data
    86     // Own: Title of this field
    85     // Own: Title of this field
    87     CMRLabel* iTitle;
    86     CMRLabel* iTitle;
    88     // Not own: Container for all the attendees
    87     // Not own: Container for all the attendees
    89     CESMRRichTextViewer* iRichTextViewer;
    88     CESMRRichTextViewer* iRichTextViewer;
    90     // Size of the field when after field has expanded.
    89     // Size of the field after field has been expanded.
    91     TSize iExpandedSize;
    90     TSize iExpandedSize;
    92     // Size of the title
    91     // Size of the title
    93     TSize iTitleSize;
    92     TSize iTitleSize;
    94     // Inofrmation about attendee type
    93     // Inofrmation about attendee type
    95     CCalAttendee::TCalRole iRole;
    94     CCalAttendee::TCalRole iRole;
    96     // Not owned. Attendee list.
    95     // Not owned. Attendee list.
    97     RPointerArray<CCalAttendee> iCalAttendees;    
    96     RPointerArray<CCalAttendee> iCalAttendees;
    98     // Show all attendees.
    97     // Show all attendees.
    99     TBool iShowAllAttendees;
    98     TBool iShowAllAttendees;
   100     };
    99     };
   101 
   100 
   102 #endif // CESMRVIEWERATTENDEESFIELD_H
   101 #endif // CESMRVIEWERATTENDEESFIELD_H