I've just started using the PropertiesFile class in my app, and want to share settings among components.
I am thinking of warpping it in a class that inherits ReferenceCountedObject so can safely pass a pointer around.
I'm planning to initialise it in MainContentComponent and then pass the pointer along as a constructor argument when subcomponents are created. This is how I'm currently sharing other objects across components.
Is this good practice or is there a more suitable method?