Index: sources/storage/StorageGlobals.cpp =================================================================== diff -u -r7077e38c74db9cccb5496ffefcf8936c0916de76 -r052c794d6a8db55a2fbfdad172275af073ee54c3 --- sources/storage/StorageGlobals.cpp (.../StorageGlobals.cpp) (revision 7077e38c74db9cccb5496ffefcf8936c0916de76) +++ sources/storage/StorageGlobals.cpp (.../StorageGlobals.cpp) (revision 052c794d6a8db55a2fbfdad172275af073ee54c3) @@ -21,7 +21,7 @@ * \brief Storage * \details The container of the constant global variable withing Storage namespace members. * For example it currently includes USB mount root folder and SD Card mount root folder and such, - * which is used by Logger, DriveWatcher, ... . + * which is used by Logger, DeviceController, ... . */ namespace Storage { @@ -32,7 +32,7 @@ #ifdef BUILD_FOR_TARGET const char *USB_Mount_Point = "/media/usb/"; #else - const char *USB_Mount_Point = "/media/denali/usb-disk/"; + const char *USB_Mount_Point = "/home/denali/Desktop/usb-disk/"; #endif const char *USB_File_System = "vfat"; @@ -43,9 +43,12 @@ const char *SDCard_Base_Path_Name = "/media/sd-card/"; #else // should not be in the project application folder. [not tracking by git] - const char *SDCard_Base_Path_Name = "/media/denali/sd-card/"; + const char *SDCard_Base_Path_Name = "/home/denali/Desktop/sd-card/"; #endif +// Screenshot store folder +const char *Screenshot_Base_Path_Name = "Screenshots/"; // this is the base path which will use the USB_Mount_Point to store the screenshots. + // Settings #ifdef BUILD_FOR_TARGET const char *Settings_Path_Name = "/home/root/.config/"; @@ -70,10 +73,10 @@ // FIXME : Not sure having global settings object is a good idea. -#ifdef BUILD_FOR_DESKTOP - QSettings WifiSettings("/home/denali/wifi.ini"); -#elif BUILD_FOR_TARGET +#ifdef BUILD_FOR_TARGET QSettings WifiSettings("/home/root/wifi.ini", QSettings::IniFormat); +#else + QSettings WifiSettings("/home/denali/wifi.ini"); #endif // TODO : These need to be removed from here because they are only used in their specific classes. @@ -105,4 +108,9 @@ const char *WifiSettings_SubnetMask = "wifi/subnetmask"; const char *WifiSettings_DNS = "wifi/dns"; const char *WifiSettings_UseDHCP = "wifi/useDHCP"; + + // Brightness + const char *Brightness_Set = "brightness_set.sh"; + const char *Brightness_Get = "brightness_get.sh"; + }