summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel d'Andrada <daniel.dandrada@canonical.com>2015-08-20 13:10:50 -0300
committerPaul Olav Tvete <paul.tvete@theqtcompany.com>2015-08-26 11:48:26 +0000
commit92bef99fa04a902f88b3d15663de8e09bd40e590 (patch)
treeec35091900ab3ae775ddeb798eb1c84efc3d640e
parent448189b2cd2e9803af3dd9a2315fe92fc855b9fa (diff)
Improve states documentation
Change-Id: Ic89f04d3f80d1f9932fc04065f93bba0c930bcfd Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
-rw-r--r--src/modules/Unity/Application/application.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/Unity/Application/application.h b/src/modules/Unity/Application/application.h
index 957ce70..3e3a9e8 100644
--- a/src/modules/Unity/Application/application.h
+++ b/src/modules/Unity/Application/application.h
@@ -72,9 +72,11 @@ public:
SuspendingWaitSession,
SuspendingWaitProcess,
Suspended,
- StoppedResumable,
+ StoppedResumable, // The process stopped but we want to keep the Application object around
+ // so it can be respawned as if it never stopped running in the first place.
Stopped // It closed itself, crashed or it stopped and we can't respawn it
- // In any case, this is a dead end.
+ // In any case, this is a dead end. The Application object can be deleted at
+ // any moment once in this state.
};
Application(const QSharedPointer<SharedWakelock>& sharedWakelock,