Author: Jean-François Milants <jf@codingfield.com>
User applications selection using CMake Fix include path since last rebase.
src/components/settings/Settings.h | 2 +- src/displayapp/apps/Apps.h.in | 17 ----------------- src/displayapp/screens/WatchFaceCasioStyleG7710.h | 2 +- src/displayapp/screens/WatchFaceDigital.h | 2 +- src/displayapp/screens/WatchFaceInfineat.h | 2 +-
diff --git a/src/components/settings/Settings.h b/src/components/settings/Settings.h index c9a0b799ce97a80df05826e755b283388a5a644c..89c2ba97a1cdc81000b7f0d66e7bce4f6c1df5ed 100644 --- a/src/components/settings/Settings.h +++ b/src/components/settings/Settings.h @@ -3,7 +3,7 @@ #include#include <bitset> #include "components/brightness/BrightnessController.h" #include "components/fs/FS.h" -#include "displayapp/Apps.h" +#include "displayapp/apps/Apps.h" namespace Pinetime { namespace Controllers { diff --git a/src/displayapp/apps/Apps.h.in b/src/displayapp/apps/Apps.h.in index 23ad12a345424a38d88e9380486b17b7b57141af..b4f117206d55f056b4f8ec0f1e22f13f1f369bd6 100644 --- a/src/displayapp/apps/Apps.h.in +++ b/src/displayapp/apps/Apps.h.in @@ -70,23 +70,6 @@ struct WatchFaceTypeList { static constexpr size_t Count = sizeof...(Ws); }; - using UserAppTypes = TypeList<Apps::StopWatch, - Apps::Alarm, - Apps::Timer, - Apps::Steps, - Apps::HeartRate, - Apps::Music, - Apps::Paint, - Apps::Paddle, - Apps::Twos, - Apps::Metronome, - Apps::Navigation - /* - Apps::Weather, - Apps::Motion - */ - >; - using UserWatchFaceTypes = WatchFaceTypeList<WatchFace::Digital, WatchFace::Analog, WatchFace::PineTimeStyle, diff --git a/src/displayapp/screens/WatchFaceCasioStyleG7710.h b/src/displayapp/screens/WatchFaceCasioStyleG7710.h index 7f71a21fb98ac89465360426df94a10205813320..f10e931ce4607a58398e4a0ce595e487df6de248 100644 --- a/src/displayapp/screens/WatchFaceCasioStyleG7710.h +++ b/src/displayapp/screens/WatchFaceCasioStyleG7710.h @@ -10,7 +10,7 @@ #include "displayapp/screens/Screen.h" #include "components/datetime/DateTimeController.h" #include "components/ble/BleController.h" #include "utility/DirtyValue.h" -#include "displayapp/Apps.h" +#include "displayapp/apps/Apps.h" namespace Pinetime { namespace Controllers { diff --git a/src/displayapp/screens/WatchFaceDigital.h b/src/displayapp/screens/WatchFaceDigital.h index a124a1c56212501189edaad2fc54faf22a937f2e..a4664792c050a34d5d7ce16070cdb4313e427ba4 100644 --- a/src/displayapp/screens/WatchFaceDigital.h +++ b/src/displayapp/screens/WatchFaceDigital.h @@ -9,7 +9,7 @@ #include "components/datetime/DateTimeController.h" #include "components/ble/BleController.h" #include "displayapp/widgets/StatusIcons.h" #include "utility/DirtyValue.h" -#include "displayapp/Apps.h" +#include "displayapp/apps/Apps.h" namespace Pinetime { namespace Controllers { diff --git a/src/displayapp/screens/WatchFaceInfineat.h b/src/displayapp/screens/WatchFaceInfineat.h index bd8862d509845449fc3b0bd5d272d6c261dd19a8..32c08f1887089565bda31105c0b4477f70ad4eac 100644 --- a/src/displayapp/screens/WatchFaceInfineat.h +++ b/src/displayapp/screens/WatchFaceInfineat.h @@ -8,7 +8,7 @@ #include #include "displayapp/screens/Screen.h" #include "components/datetime/DateTimeController.h" #include "utility/DirtyValue.h" -#include "displayapp/Apps.h" +#include "displayapp/apps/Apps.h" namespace Pinetime { namespace Controllers {