email/mail/PluginSrc/icalviewer/uisrc/CICalViewerView.h
changeset 0 72b543305e3a
equal deleted inserted replaced
-1:000000000000 0:72b543305e3a
       
     1 /*
       
     2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "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 *
       
    14 * Description:  CICalViewerView
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __CICalViewerView_H_
       
    21 #define __CICalViewerView_H_
       
    22 
       
    23 //  INCLUDES
       
    24 #include <COECNTRL.H>
       
    25 #include <MAgnEntryUi.h>
       
    26 
       
    27 #include <e32std.h>
       
    28 
       
    29 // FORWARD DECLARATIONS
       
    30 class MAgnEntryUi;
       
    31 class MAgnEntryUiCallback;
       
    32 class CCalEntry;
       
    33 class TAgnEntryUiInParams;
       
    34 class TAgnEntryUiOutParams;
       
    35 class CICalEngine;
       
    36 // CLASS DECLARATION
       
    37 
       
    38 /**
       
    39 *  ?one_line_short_description.
       
    40 *  ?other_description_lines
       
    41 *
       
    42 *  @lib ICalBC
       
    43 *  @since Series 60 3.0
       
    44 */
       
    45 class CICalViewerView : public CCoeControl
       
    46     {
       
    47     public:  // Constructors and destructor
       
    48 
       
    49         /**
       
    50         * Two-phased constructor.
       
    51         */
       
    52         static CICalViewerView* NewL( TUid aMtmUid );
       
    53 
       
    54         /**
       
    55         * Destructor.
       
    56         */
       
    57         virtual ~CICalViewerView();
       
    58 
       
    59     public: // New functions
       
    60 
       
    61         /**
       
    62         * ExecuteViewL.
       
    63         * @since Series 60 3.0
       
    64         * @param ?arg1 ?description
       
    65         * @return ?description
       
    66         */
       
    67         TInt ExecuteViewL( RPointerArray<CCalEntry>& aEntries,
       
    68                                    const MAgnEntryUi::TAgnEntryUiInParams& aInParams,
       
    69                                    MAgnEntryUi::TAgnEntryUiOutParams& aOutParams,
       
    70                                    MAgnEntryUiCallback& aCallback );
       
    71 
       
    72 
       
    73     public: // Functions from base classes
       
    74 
       
    75         /**
       
    76         * From ?base_class ?member_description.
       
    77         * @since Series ?XX ?SeriesXX_version
       
    78         * @param ?arg1 ?description
       
    79         * @return ?description
       
    80         */
       
    81         //?type ?member_function( ?type ?arg1 );
       
    82 
       
    83     protected:  // New functions
       
    84 
       
    85         /**
       
    86         * ?member_description.
       
    87         * @since Series ?XX ?SeriesXX_version
       
    88         * @param ?arg1 ?description
       
    89         * @return ?description
       
    90         */
       
    91         //?type ?member_function( ?type ?arg1 );
       
    92 
       
    93     protected:  // Functions from base classes
       
    94 
       
    95         /**
       
    96         * From ?base_class ?member_description
       
    97         */
       
    98         //?type ?member_function();
       
    99 
       
   100     private:
       
   101 
       
   102         /**
       
   103         * C++ default constructor.
       
   104         */
       
   105         CICalViewerView();
       
   106 
       
   107         /**
       
   108         * By default Symbian 2nd phase constructor is private.
       
   109         */
       
   110         void ConstructL( TUid aMtmUid );
       
   111 
       
   112         // Prohibit copy constructor if not deriving from CBase.
       
   113         // CICalViewerView( const CICalViewerView& );
       
   114         // Prohibit assigment operator if not deriving from CBase.
       
   115         // CICalViewerView& operator=( const CICalViewerView& );
       
   116 
       
   117     private:    // Data
       
   118         // own: MR Viewers entry ui
       
   119         MAgnEntryUi* iEntryUI;
       
   120 
       
   121         // Own: engine
       
   122         CICalEngine* iEngine;
       
   123 
       
   124     };
       
   125 
       
   126 #endif      // __CICalViewerView_H_
       
   127 
       
   128 // End of File