equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Classes for executing GOOM actions (e.g. closing applications and running plugins). |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "goomaction.h" |
|
20 #include "goomactionlist.h" |
|
21 #include "goomtraces.h" |
|
22 |
|
23 CGOomAction::~CGOomAction() |
|
24 { |
|
25 FUNC_LOG; |
|
26 } |
|
27 |
|
28 // To be called by the derived class after the memory has been freed (or if it fails) |
|
29 void CGOomAction::MemoryFreed(TInt) |
|
30 { |
|
31 FUNC_LOG; |
|
32 |
|
33 iState = EGOomIdle; |
|
34 iStateChangeObserver.StateChanged(); |
|
35 } |
|
36 |
|
37 CGOomAction::CGOomAction(MGOomActionObserver& aStateChangeObserver) : iStateChangeObserver(aStateChangeObserver) |
|
38 { |
|
39 FUNC_LOG; |
|
40 } |