wmdrm/camese/wmdrmdlaapp/inc/wmdrmdlabrowsercontainer.h
branchRCL_3
changeset 71 1221b68b8a5f
parent 0 95b198f216e5
child 72 1481bf457703
equal deleted inserted replaced
67:50c53e893c3f 71:1221b68b8a5f
     1 /*
     1 /*
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2008-2010 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".
    20 #define C_WMDRMDLABROWSERCONTAINER_H
    20 #define C_WMDRMDLABROWSERCONTAINER_H
    21 
    21 
    22 #include <coecntrl.h>
    22 #include <coecntrl.h>
    23 
    23 
    24 class CAknView;
    24 class CAknView;
    25 class MBrCtlSpecialLoadObserver;
       
    26 class CBrCtlInterface;
       
    27 
    25 
    28 class CWmDrmDlaBrowserContainer : public CCoeControl
    26 class CWmDrmDlaBrowserContainer : public CCoeControl
    29     {
    27     {
    30 
    28 
    31     public:
    29     public:
    32 
    30 
    33         static CWmDrmDlaBrowserContainer* NewL( CAknView* aView, 
       
    34                                                 MBrCtlSpecialLoadObserver* aObserver );
       
    35         static CWmDrmDlaBrowserContainer* NewLC( CAknView* aView, 
       
    36                                                  MBrCtlSpecialLoadObserver* aObserver );
       
    37 
       
    38         /**
       
    39          * Destructor.
       
    40          */
       
    41         virtual ~CWmDrmDlaBrowserContainer();
       
    42         
       
    43         /**
       
    44          * Returns pointer to the CBrCtlInterface owned by the container.
       
    45          * @return A pointer to CBrCtlInterface
       
    46          */        
       
    47         CBrCtlInterface* BrCtlInterface();
       
    48     
       
    49         
       
    50     public: // From CCoeControl
    31     public: // From CCoeControl
    51 
    32 
    52         /**
    33         /**
    53          * @see CCoeControl
    34          * @see CCoeControl
    54          */
    35          */
    55         TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType );
       
    56         
       
    57         /**
       
    58          * @see CCoeControl
       
    59          */
       
    60         TInt CountComponentControls() const;
       
    61 
       
    62         /**
       
    63          * @see CCoeControl
       
    64          */
       
    65         CCoeControl* ComponentControl( TInt aIndex ) const;
    36         CCoeControl* ComponentControl( TInt aIndex ) const;
    66 
       
    67         /**
       
    68          * @see CCoeControl
       
    69          */
       
    70         void SizeChanged();
       
    71 
    37 
    72         /**
    38         /**
    73          * @see CCoeControl
    39          * @see CCoeControl
    74          */
    40          */
    75         void FocusChanged( TDrawNow aDrawNow );
    41         void FocusChanged( TDrawNow aDrawNow );
    80         void HandleResourceChange( TInt aType );    
    46         void HandleResourceChange( TInt aType );    
    81     
    47     
    82     private:
    48     private:
    83 
    49 
    84         CWmDrmDlaBrowserContainer( CAknView* aView );
    50         CWmDrmDlaBrowserContainer( CAknView* aView );
    85         void ConstructL( MBrCtlSpecialLoadObserver* aObserver );
       
    86 
    51 
    87     private: // data
    52     private: // data
    88    
    53    
    89         //Not owned
    54         //Not owned
    90         CAknView* iView;
    55         CAknView* iView;
    91         
    56         
    92         CBrCtlInterface* iBrCtlInterface;
       
    93         
       
    94     };
    57     };
    95 
    58 
    96 #endif // C_WMDRMDLABROWSERCONTAINER_H
    59 #endif // C_WMDRMDLABROWSERCONTAINER_H