tstaskmonitor/client/s60/inc/tsscreenshotclientimpl.h
changeset 83 156f692b1687
child 99 7aaf39b772ac
equal deleted inserted replaced
80:397d00875918 83:156f692b1687
       
     1 /*
       
     2 * Copyright (c) 2009 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: 
       
    15 *
       
    16 */
       
    17 #ifndef TSSCREENSHOTCLIENTIMPL_H
       
    18 #define TSSCREENSHOTCLIENTIMPL_H
       
    19 
       
    20 #include <e32base.h>
       
    21 
       
    22 #include "tssession.h"
       
    23 
       
    24 class CFbsBitmap;
       
    25 
       
    26 NONSHARABLE_CLASS( CTsScreenshotClientImpl ) : public CBase
       
    27 {
       
    28 public:
       
    29     static CTsScreenshotClientImpl* NewL();
       
    30     static CTsScreenshotClientImpl* NewLC();
       
    31     ~CTsScreenshotClientImpl();
       
    32 
       
    33 public:
       
    34     TInt RegisterScreenshot(CFbsBitmap *screenshot, TInt wgId, UpdatePriority priority);
       
    35     void RegisterScreenshot(TRequestStatus &status, CFbsBitmap *screenshot, TInt wgId, UpdatePriority priority);
       
    36     TInt UnregisterScreenshot(TInt wgId);
       
    37 
       
    38 private:
       
    39     CTsScreenshotClientImpl();
       
    40     void ConstructL();
       
    41 
       
    42     RTsSession iSession;
       
    43 };
       
    44 
       
    45 #endif  // TSSCREENSHOTCLIENTIMPL_H