tstaskmonitor/client/s60/inc/tssession.h
changeset 104 9b022b1f357c
parent 83 156f692b1687
equal deleted inserted replaced
103:b99b84bcd2d1 104:9b022b1f357c
    18 #define TSSESSION_H
    18 #define TSSESSION_H
    19 
    19 
    20 #include <e32base.h>
    20 #include <e32base.h>
    21 
    21 
    22 #include "tstaskmonitorglobals.h"
    22 #include "tstaskmonitorglobals.h"
    23 #include "tsfswentry.h"
    23 #include "tsentry.h"
    24 
    24 
    25 NONSHARABLE_CLASS( RTsSession ) : public RSessionBase
    25 NONSHARABLE_CLASS( RTsSession ) : public RSessionBase
    26 {
    26 {
    27 public:
    27 public:
    28     TInt Connect();
    28     TInt Connect();
    33     void CancelSubscribe();
    33     void CancelSubscribe();
    34 
    34 
    35 public: // screenshots API
    35 public: // screenshots API
    36     TInt RegisterScreenshot(CFbsBitmap *screenshot, TInt wgId, UpdatePriority priority);
    36     TInt RegisterScreenshot(CFbsBitmap *screenshot, TInt wgId, UpdatePriority priority);
    37     void RegisterScreenshot(TRequestStatus &status, CFbsBitmap *screenshot, TInt wgId, UpdatePriority priority);
    37     void RegisterScreenshot(TRequestStatus &status, CFbsBitmap *screenshot, TInt wgId, UpdatePriority priority);
    38     TInt UnregisterScreenshot(TInt wgId);    
    38     TInt UnregisterScreenshot(TInt wgId);
       
    39     TInt SetVisibility(TInt wgId, Visibility value);
    39     
    40     
    40 private:
    41 private:
    41     TInt StartServer();
    42     TInt StartServer();
    42 };
    43 };
    43 
    44