memspy/Engine/Include/Sink/MemSpyEngineOutputSinkFile.h
branchRCL_3
changeset 49 7fdc9a71d314
parent 44 52e343bb8f80
child 59 8ad140f3dd41
equal deleted inserted replaced
46:e26895079d7c 49:7fdc9a71d314
    30 class CMemSpyEngineFileHolder;
    30 class CMemSpyEngineFileHolder;
    31 
    31 
    32 NONSHARABLE_CLASS( CMemSpyEngineOutputSinkFile ) : public CMemSpyEngineOutputSink
    32 NONSHARABLE_CLASS( CMemSpyEngineOutputSinkFile ) : public CMemSpyEngineOutputSink
    33     {
    33     {
    34 public:
    34 public:
    35     static CMemSpyEngineOutputSinkFile* NewL( CMemSpyEngine& aEngine );
    35     static CMemSpyEngineOutputSinkFile* NewL( CMemSpyEngine& aEngine, const TDesC& aRootFolder );
    36     ~CMemSpyEngineOutputSinkFile();
    36     ~CMemSpyEngineOutputSinkFile();
    37 
    37 
    38 public:
    38 public:
    39     CMemSpyEngineOutputSinkFile( CMemSpyEngine& aEngine );
    39     CMemSpyEngineOutputSinkFile( CMemSpyEngine& aEngine );
    40     void ConstructL();
    40     void ConstructL( const TDesC& aRootFolder );
    41     
    41     
    42 private: // From CMemSpyEngineOutputSink
    42 private: // From CMemSpyEngineOutputSink
    43     void ProcessSuspendedL( TProcessId aId );
    43     void ProcessSuspendedL( TProcessId aId );
    44     void ProcessResumed( TProcessId aId );
    44     void ProcessResumed( TProcessId aId );
    45     TMemSpySinkType Type() const;
    45     TMemSpySinkType Type() const;
    62     RPointerArray< CMemSpyEngineFileHolder > iLogs;
    62     RPointerArray< CMemSpyEngineFileHolder > iLogs;
    63     RPointerArray< CMemSpyEngineFileHolder > iLogsPendingDestruction;
    63     RPointerArray< CMemSpyEngineFileHolder > iLogsPendingDestruction;
    64 
    64 
    65     TUint iFileServerProcessId;
    65     TUint iFileServerProcessId;
    66     TBool iFileServerSuspended;
    66     TBool iFileServerSuspended;
       
    67     
       
    68     HBufC* iRoot;
    67 
    69 
    68 private:
    70 private:
    69     friend class CMemSpyEngineFileHolder;
    71     friend class CMemSpyEngineFileHolder;
    70     };
    72     };
    71 
    73