os/mm/mmlibs/mmfw/src/Client/Video/mediaclientextdisplayhandler.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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     void UpdateWindow();
    35     
    36     ~CMediaClientExtDisplayHandler();
    37 
    38 private:
    39     
    40     CMediaClientExtDisplayHandler(TInt aDisplayId);
    41     void ConstructL();
    42     
    43 private:
    44     
    45     TInt iDisplayId;
    46     CWsScreenDevice* iScreen;
    47     RWindow iExternalDisplayWindow;
    48     RWsSession iWs;
    49     RWindowGroup iRootWindow;
    50     };
    51 
    52 #endif // MEDIACLIENTVIDEODISPLAYHANDLER_H
    53