
The DisplayApp class isn't used in the Screen base class and most screens, so requiring it is pointless. In this commit, DisplayApp pointers were added to screens which use it and the explicit Screen constructor was removed in those screens.
28 lines
567 B
C++
28 lines
567 B
C++
#pragma once
|
|
|
|
#include <array>
|
|
#include <cstdint>
|
|
#include <lvgl/lvgl.h>
|
|
|
|
#include "components/settings/Settings.h"
|
|
#include "displayapp/screens/Screen.h"
|
|
#include "displayapp/screens/CheckboxList.h"
|
|
|
|
namespace Pinetime {
|
|
|
|
namespace Applications {
|
|
namespace Screens {
|
|
|
|
class SettingBluetooth : public Screen {
|
|
public:
|
|
SettingBluetooth(DisplayApp* app, Pinetime::Controllers::Settings& settingsController);
|
|
~SettingBluetooth() override;
|
|
|
|
private:
|
|
DisplayApp* app;
|
|
CheckboxList checkboxList;
|
|
};
|
|
}
|
|
}
|
|
}
|