For example I do define something like DeviceInfo.mc in my resource folders. This file contains device name, font variables and should contain watchface specific stuff as well.
So my setup would look like following:
- 1 - shared/src-fenix5/DeviceInfo.mc
- 2 - shared/src-fenix5s/DeviceInfo.mc
- 3 - shared/src-fonts-fenix5/DeviceInfo.mc
- ...
And now I'd like to use 1 + 3 for fenix 5 devices and 2 + 3 for fenix 5s devices and similar. This does not work, because alle DeviceInfos.mc files to contain the same class.
Solution
Currently I do use different class names (DeviceInfo + DeviceFontInfo) but I'd prefer to avoid such minimal classes (they only contain a few constants)
Question
I'd like to have ONE info class that merges all contents from different folders, is that somehow possible? Actually in general, I'd need something like a namespace instead of a class, because my info class only contains static definitions and no real class code.