memspy/memspy_plat/memspy_api/include/memspy/engine/MemSpyEngine.h
branchRCL_3
changeset 49 7fdc9a71d314
parent 44 52e343bb8f80
child 59 8ad140f3dd41
equal deleted inserted replaced
46:e26895079d7c 49:7fdc9a71d314
    58 
    58 
    59 NONSHARABLE_CLASS( CMemSpyEngine ) : public CBase
    59 NONSHARABLE_CLASS( CMemSpyEngine ) : public CBase
    60     {
    60     {
    61 public:
    61 public:
    62     IMPORT_C static CMemSpyEngine* NewL( RFs& aFsSession );
    62     IMPORT_C static CMemSpyEngine* NewL( RFs& aFsSession );
       
    63     IMPORT_C static CMemSpyEngine* NewL( RFs& aFsSession, TBool aStartServer );
    63     IMPORT_C ~CMemSpyEngine();
    64     IMPORT_C ~CMemSpyEngine();
    64 
    65 
    65 private:
    66 private:
    66     CMemSpyEngine();
    67     CMemSpyEngine();
    67     void ConstructL( RFs& aFsSession );
    68     void ConstructL( RFs& aFsSession );
    78 
    79 
    79 public: // Sink related
    80 public: // Sink related
    80     IMPORT_C CMemSpyEngineOutputSink& Sink();
    81     IMPORT_C CMemSpyEngineOutputSink& Sink();
    81     IMPORT_C TMemSpySinkType SinkType();
    82     IMPORT_C TMemSpySinkType SinkType();
    82     IMPORT_C void InstallSinkL( TMemSpySinkType aType );
    83     IMPORT_C void InstallSinkL( TMemSpySinkType aType );
       
    84     IMPORT_C void InstallDebugSinkL();
       
    85     IMPORT_C void InstallFileSinkL( const TDesC& aRootFolder );
    83 
    86 
    84 public: // Misc
    87 public: // Misc
    85     IMPORT_C void ListOpenFilesL();
    88     IMPORT_C void ListOpenFilesL();
    86     IMPORT_C void GetVersion( TVersion& aVersion );
    89     IMPORT_C void GetVersion( TVersion& aVersion );
    87     IMPORT_C TBool IsHelperWindowServerSupported();
    90     IMPORT_C TBool IsHelperWindowServerSupported();