Main: wrap the Storage instance in CompositeStorage

This commit is contained in:
Max Kellermann
2014-02-09 07:44:07 +01:00
parent 59ce67e2e5
commit a9fefcf600
2 changed files with 15 additions and 2 deletions

View File

@@ -63,6 +63,10 @@ struct Instance final
#ifdef ENABLE_DATABASE
Database *database;
/**
* This is really a #CompositeStorage. To avoid heavy include
* dependencies, we declare it as just #Storage.
*/
Storage *storage;
UpdateService *update;