mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-05-07 07:13:36 -04:00
[BH-861] Cleanup Application split - part I
1. Prepare Pure and Bell specific `Application` classes and add them to `app` target: - `products/BellHybrid/apps/Application.cpp` - `products/PurePhone/apps/Application.cpp` 2. Update `CMakeLists.txt` files. 3. Move `ApplicationBell` implementation to Bell-specific `Application` class and remove `ApplicationBell` files. 4. Change Bell apps parent classes from `ApplicationBell` to Bell-specific `Application` class. 5. Rename `Application` to `ApplicationCommon` in the rest of the files.
This commit is contained in:
committed by
Mateusz Grzegorzek
parent
05847f09d1
commit
58dd02cff1
@@ -14,10 +14,11 @@
|
||||
|
||||
namespace app::notes
|
||||
{
|
||||
NotesListItemProvider::NotesListItemProvider(Application *app) : DatabaseModel(app)
|
||||
NotesListItemProvider::NotesListItemProvider(ApplicationCommon *app) : DatabaseModel(app)
|
||||
{}
|
||||
|
||||
NotesListModel::NotesListModel(app::Application *app, std::shared_ptr<AbstractNotesRepository> notesRepository)
|
||||
NotesListModel::NotesListModel(app::ApplicationCommon *app,
|
||||
std::shared_ptr<AbstractNotesRepository> notesRepository)
|
||||
: NotesListItemProvider(app), notesRepository{std::move(notesRepository)}
|
||||
{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user