tstaskmonitor/client/s60/inc/tsscreenshotclient.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 TSSCREENSHOTCLIENT_H
       
    18 #define TSSCREENSHOTCLIENT_H
       
    19 
       
    20 #include <e32base.h>
       
    21 
       
    22 #include "tstaskmonitorglobals.h"
       
    23 
       
    24 class CFbsBitmap;
       
    25 class CTsScreenshotClientImpl;
       
    26 
       
    27 NONSHARABLE_CLASS( CTsScreenshotClient ) : public CBase
       
    28 {
       
    29 public:
       
    30     IMPORT_C static CTsScreenshotClient* NewL();
       
    31     IMPORT_C static CTsScreenshotClient* NewLC();
       
    32     IMPORT_C ~CTsScreenshotClient();
       
    33 
       
    34 public:
       
    35     IMPORT_C TInt RegisterScreenshot(CFbsBitmap *screenshot, TInt wgId, UpdatePriority priority = Normal);
       
    36     IMPORT_C void RegisterScreenshot(TRequestStatus &status, CFbsBitmap *screenshot, TInt wgId, UpdatePriority priority = Normal);
       
    37     IMPORT_C TInt UnregisterScreenshot(TInt wgId);
       
    38 
       
    39 private:
       
    40     CTsScreenshotClient();
       
    41     void ConstructL();
       
    42 
       
    43 private:
       
    44     CTsScreenshotClientImpl* iImpl;
       
    45 };
       
    46 
       
    47 #endif  // TSSCREENSHOTCLIENT_H