uiacceltk/hitchcock/goommonitor/src/goomactionref.cpp
branchRCL_3
changeset 3 d8a3531bc6b8
parent 0 15bf7259bb7c
child 15 cd0ae4656946
equal deleted inserted replaced
0:15bf7259bb7c 3:d8a3531bc6b8
    21 TActionRef::TActionRef(TActionType aType, TInt aPriority, TGOomSyncMode aSyncMode, TInt aRamEstimate, CGOomRunPlugin& aRunPlugin, TUint aWgIndexOfTargetApp)
    21 TActionRef::TActionRef(TActionType aType, TInt aPriority, TGOomSyncMode aSyncMode, TInt aRamEstimate, CGOomRunPlugin& aRunPlugin, TUint aWgIndexOfTargetApp)
    22     : iType(aType), iPriority(aPriority), iSyncMode(aSyncMode), iRamEstimate(aRamEstimate), iWgIndex(aWgIndexOfTargetApp), iRunPlugin(&aRunPlugin)
    22     : iType(aType), iPriority(aPriority), iSyncMode(aSyncMode), iRamEstimate(aRamEstimate), iWgIndex(aWgIndexOfTargetApp), iRunPlugin(&aRunPlugin)
    23     {   
    23     {   
    24     }
    24     }
    25 
    25 
    26 TActionRef::TActionRef(TActionType aType, TInt aPriority, TGOomSyncMode aSyncMode, TInt aRamEstimate, TInt aWgId, TUint aWgIndex)
    26 TActionRef::TActionRef(TActionType aType, TInt aPriority, TGOomSyncMode aSyncMode, TInt aRamEstimate, TInt aWgId, TUint aWgIndex, TInt aCloseTimeout, TInt aWaitAfterClose)
    27 : iType(aType), iPriority(aPriority), iSyncMode(aSyncMode), iRamEstimate(aRamEstimate), iWgId(aWgId), iWgIndex(aWgIndex), iRunPlugin(NULL)
    27 : iType(aType), iPriority(aPriority), iSyncMode(aSyncMode), iRamEstimate(aRamEstimate), iWgId(aWgId), iWgIndex(aWgIndex), iRunPlugin(NULL), iCloseTimeout(aCloseTimeout), iWaitAfterClose(aWaitAfterClose)
    28     {   
    28     {   
    29     }
    29     }
    30 
    30 
    31     
    31     
    32 TActionRef::TActionType TActionRef::Type() const
    32 TActionRef::TActionType TActionRef::Type() const
    57 TInt TActionRef::WgId() const
    57 TInt TActionRef::WgId() const
    58     {
    58     {
    59     return iWgId;
    59     return iWgId;
    60     }
    60     }
    61 
    61 
       
    62 TInt TActionRef::CloseTimeout() const
       
    63     {
       
    64     return iCloseTimeout;
       
    65     }
       
    66 
       
    67 TInt TActionRef::WaitAfterClose() const
       
    68     {
       
    69     return iWaitAfterClose;
       
    70     }
       
    71 
    62 TInt TActionRef::WgIndex() const
    72 TInt TActionRef::WgIndex() const
    63     {
    73     {
    64     return iWgIndex;
    74     return iWgIndex;
    65     }
    75     }
    66 
    76