phonebookui/Phonebook2/Commands/inc/CPbk2AiwInterestItemSindInfoView.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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:  Phonebook 2 SIND info view AIW interest item.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CPBK2AIWINTERESTITEMSINDINFOVIEW_H
       
    20 #define CPBK2AIWINTERESTITEMSINDINFOVIEW_H
       
    21 
       
    22 //  INCLUDES
       
    23 #include <e32base.h>
       
    24 #include "CPbk2AiwInterestItemBase.h"
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CAiwServiceHandler;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32  * Phonebook 2 SIND info view AIW interest item.
       
    33  */
       
    34 NONSHARABLE_CLASS(CPbk2AiwInterestItemSindInfoView) :
       
    35         public CPbk2AiwInterestItemBase
       
    36 
       
    37     {
       
    38     public:  // Constructors and destructor
       
    39 
       
    40         /**
       
    41          * Creates a new instance of this class.
       
    42          *
       
    43          * @param aInterestId       Interest id.
       
    44          * @param aServiceHandler   AIW service handler.
       
    45          * @return  A new instance of this class.
       
    46          */
       
    47         static CPbk2AiwInterestItemSindInfoView* NewL(
       
    48                 TInt aInterestId,
       
    49                 CAiwServiceHandler& aServiceHandler );
       
    50 
       
    51         /**
       
    52          * Destructor.
       
    53          */
       
    54         ~CPbk2AiwInterestItemSindInfoView();
       
    55 
       
    56     public: // From MPbk2AiwInterestItem
       
    57         TBool DynInitMenuPaneL(
       
    58                 const TInt aResourceId,
       
    59                 CEikMenuPane& aMenuPane,
       
    60                 const MPbk2ContactUiControl& aControl );
       
    61         TBool HandleCommandL(
       
    62                 const TInt aMenuCommandId,
       
    63                 MPbk2ContactUiControl& aControl,
       
    64                 TInt aServiceCommandId );
       
    65 
       
    66     private: // From CActive
       
    67         void DoCancel();
       
    68         void RunL();
       
    69 
       
    70     private: // Implementation
       
    71         CPbk2AiwInterestItemSindInfoView(
       
    72                 TInt aInterestId,
       
    73                 CAiwServiceHandler& aServiceHandler );
       
    74     };
       
    75 
       
    76 #endif // CPBK2AIWINTERESTITEMSINDINFOVIEW_H
       
    77 
       
    78 // End of File