memspy/Engine/Include/Sink/MemSpyEngineOutputSinkFile.h
branchRCL_3
changeset 59 8ad140f3dd41
parent 49 7fdc9a71d314
equal deleted inserted replaced
49:7fdc9a71d314 59:8ad140f3dd41
    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, const TDesC& aRootFolder );
    35     static CMemSpyEngineOutputSinkFile* NewL( CMemSpyEngine& aEngine );
    36     ~CMemSpyEngineOutputSinkFile();
    36     ~CMemSpyEngineOutputSinkFile();
    37 
    37 
    38 public:
    38 public:
    39     CMemSpyEngineOutputSinkFile( CMemSpyEngine& aEngine );
    39     CMemSpyEngineOutputSinkFile( CMemSpyEngine& aEngine );
    40     void ConstructL( const TDesC& aRootFolder );
    40     void ConstructL();
    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;
       
    69 
    67 
    70 private:
    68 private:
    71     friend class CMemSpyEngineFileHolder;
    69     friend class CMemSpyEngineFileHolder;
    72     };
    70     };
    73 
    71