homesync/contentmanager/mediaservant/inc/msbrowsecontainer.h
branchIOP_Improvements
changeset 40 08b5eae9f9ff
parent 39 6369bfd1b60d
child 41 b4d83ea1d6e2
equal deleted inserted replaced
39:6369bfd1b60d 40:08b5eae9f9ff
     1 /*
       
     2 * Copyright (c) 2008 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:  Definition for MediaServant browse container class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_MSBROWSECONTAINER_H
       
    20 #define C_MSBROWSECONTAINER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <aknlists.h>
       
    24 
       
    25 #include "msbasecontainer.h"
       
    26 #include "msitembrowser.h"
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 
       
    30 class CMSAppUi;
       
    31 class CMSBrowseView;
       
    32 
       
    33 
       
    34 /**
       
    35  * CMSBrowseContainer class
       
    36  * @since S60 5.1
       
    37  */
       
    38 NONSHARABLE_CLASS( CMSBrowseContainer ): public CMSItemBrowser
       
    39     {
       
    40 public:
       
    41     /**
       
    42      * Constructor.
       
    43      */
       
    44     CMSBrowseContainer( CMSAppUi& aAppUi, CMSBrowseView& aView );
       
    45 
       
    46     /**
       
    47      * Destructor.
       
    48      */
       
    49     virtual ~CMSBrowseContainer();
       
    50     
       
    51 protected:
       
    52 
       
    53 // From base class CoeControl
       
    54     
       
    55     /**
       
    56      * From CoeControl
       
    57      * See base class definition
       
    58      */
       
    59     void GetHelpContext(TCoeHelpContext& aContext) const;
       
    60 
       
    61     /**
       
    62      * From CoeControl
       
    63      * See base class definition
       
    64      */
       
    65     void HandleResourceChange(TInt aType);
       
    66 
       
    67 // From base class CMSItemBrowser
       
    68 
       
    69         /**
       
    70          * From CMSItemBrowser
       
    71          * See base class definition
       
    72          */
       
    73         void GetBrowseDataL();
       
    74 
       
    75 private:
       
    76 
       
    77     /**
       
    78      * containers view
       
    79      */
       
    80     CMSBrowseView*                          iView;  // not owned
       
    81 
       
    82     };
       
    83 
       
    84 #endif // C_MSBROWSECONTAINER_H