mmlibs/mmfw/src/Client/Video/mediaclientextdisplayhandler.h
changeset 13 efebd1779a59
child 19 8184f75a63d4
equal deleted inserted replaced
0:40261b775718 13:efebd1779a59
       
     1 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef MEDIACLIENTVIDEODISPLAYHANDLER_H
       
    17 #define MEDIACLIENTVIDEODISPLAYHANDLER_H
       
    18 
       
    19 #include <w32std.h>
       
    20 
       
    21 /**
       
    22 @internalTechnology
       
    23 @released
       
    24 
       
    25 */
       
    26 NONSHARABLE_CLASS(CMediaClientExtDisplayHandler) : public CBase
       
    27     {
       
    28 public:
       
    29 
       
    30     static CMediaClientExtDisplayHandler* NewL(TInt aDisplayId);
       
    31     
       
    32     RWindowBase* Window();
       
    33     TSize DisplaySizeInPixels();
       
    34     
       
    35     ~CMediaClientExtDisplayHandler();
       
    36 
       
    37 private:
       
    38     
       
    39     CMediaClientExtDisplayHandler(TInt aDisplayId);
       
    40     void ConstructL();
       
    41     
       
    42 private:
       
    43     
       
    44     TInt iDisplayId;
       
    45     CWsScreenDevice* iScreen;
       
    46     RWindow iExternalDisplayWindow;
       
    47     RWsSession iWs;
       
    48     RWindowGroup iRootWindow;
       
    49     };
       
    50 
       
    51 #endif // MEDIACLIENTVIDEODISPLAYHANDLER_H
       
    52