update todos
This commit is contained in:
parent
4a83f971f3
commit
87a208d305
2 changed files with 8 additions and 16 deletions
|
|
@ -59,7 +59,6 @@ void EnergySaver::initTimer(int interval)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Behavior on timeout: shut down RaspberryPi.
|
* @brief Behavior on timeout: shut down RaspberryPi.
|
||||||
* @todo Call shutdown script.
|
|
||||||
*/
|
*/
|
||||||
void EnergySaver::onTimeout()
|
void EnergySaver::onTimeout()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -7,25 +7,18 @@
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @todo To add an image viewer:
|
* @todo Add command line parser
|
||||||
* - introduce an image context in qml -> can be switched via toggle buttons in each view
|
* https://doc.qt.io/qt-5/qcommandlineparser.html
|
||||||
* - introduce NavigationControllerBase with all basic functions of the current NavigationController
|
* - set root path by commandline option
|
||||||
* - derive MusicNavigationController and ImageNavigatioController
|
* - set mode via commandline option
|
||||||
* - NavigationController than holds instances of UiStateModel, ImageNavigationController and
|
* -- RasPi -> no volumeControl or exit Button
|
||||||
* MusicNavigationController.
|
* -- Desktop -> volumeControl and exit Button
|
||||||
* - connect toggle buttons to UiStateModel
|
* -- in future probably also MobileApp
|
||||||
*
|
* - set energy saver timeout
|
||||||
* Aim:
|
|
||||||
* - Add an imageViewer but allow listening to Music while using it.
|
|
||||||
* - When modifying music keep state of image viewer, keep state of player when switching to
|
|
||||||
* imageViewer -> musicPlayer and imageViewer are independent parts of this software!
|
|
||||||
* USE SEPARATE BRANCH FOR DEVELOPMENT!
|
|
||||||
*/
|
*/
|
||||||
QGuiApplication app(argc, argv);
|
QGuiApplication app(argc, argv);
|
||||||
QQmlApplicationEngine engine;
|
QQmlApplicationEngine engine;
|
||||||
|
|
||||||
/// @todo add config parser to determine root path.
|
|
||||||
/// @todo add reaction to system signal reload config.
|
|
||||||
NavigationController navController;
|
NavigationController navController;
|
||||||
navController.setContext(engine.rootContext());
|
navController.setContext(engine.rootContext());
|
||||||
navController.init("/home/ar/source/lenaMusic/");
|
navController.init("/home/ar/source/lenaMusic/");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue