~libertine-team/libertine/trunk

« back to all changes in this revision

Viewing changes to libertine/ContainerAppsList.cpp

  • Committer: Bileto Bot
  • Date: 2016-09-14 14:45:48 UTC
  • mfrom: (161.1.2 libertine.1.4.1-release)
  • Revision ID: ci-train-bot@canonical.com-20160914144548-ajgnaxcmfq3bwpxp
* Refactor the libertine-session-bus to be a class, so we will be on the
  same process and we can actually test LSB more then just running it and
  checking exit code.
* Add a get_logger function to the libertine utils. This function will get
  the logger __libertiner_logger__ which will only be setup once, with one
  handler.
* Switch libertine-lxc-manager to be a DBus service and activate it on demand
  via DBus. (LP: #1591350)
* Add check for special LIBERTINE_JENKAAS_TESTING environment variable for
  the smoke testing harness.
* Bump version to 1.4.1.
* Return user to homepage when container has been destroyed from under them.
  (LP: #1604015)
* Introduce a method in ContainersConfig to refresh the database depending 
  on an md5 checksum.
* Creating the first container moves user to ContainersView screen.
  (LP: #1615697)
* Inject a ContainersConfig instance when creating containers.
* Fix crash in ContainersConfig when getting host arch by using HostInfo
  object.
* Create a signal to indicate that container creation has begun.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
{ }
28
28
 
29
29
 
30
 
ContainerAppsList::
31
 
~ContainerAppsList()
32
 
{ }
33
 
 
34
 
 
35
30
void ContainerAppsList::
36
31
setContainerApps(QString const& container_id)
37
32
{
51
46
 
52
47
bool ContainerAppsList::
53
48
empty() const noexcept
54
 
{ return apps_->empty(); }
 
49
{ return apps_ == nullptr || apps_->empty(); }
55
50
 
56
51
 
57
52
ContainerAppsList::size_type ContainerAppsList::
58
53
size() const noexcept
59
 
{ return apps_->count(); }
 
54
{ return apps_ != nullptr ? apps_->count() : 0;}
60
55
 
61
56
 
62
57
int ContainerAppsList::