/*! * * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file StorageGlobals.cpp * \author (last) Peter Lucia * \date (last) 15-Oct-2020 * \author (original) Behrouz NematiPour * \date (original) 26-Aug-2020 * */ // Qt // Project #include "StorageGlobals.h" /*! * \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, ... . */ namespace Storage { // USB const char *USB_Mount_Point = "/media/usb/"; const char *USB_File_System = "vfat"; // Log const char *Log_Base_Path_Name = "/media/sd-card/"; const char *Log_Base_Path_Name_Location = "/media/sd-card/log/"; const char *Log_File_Name = "denali.log"; // Treatment const char *Treatment_Base_Dir = "/media/sd-card/treatment/"; const char *Treatment_Profiles_Dir = "/media/sd-card/treatment/profiles/"; const char *Treatment_Parameter_Ranges_Path_JSON = "/media/sd-card/treatment/denali.conf"; // Bluetooth #ifdef BUILD_FOR_DESKTOP const char *Bluetooth_Saved_Devices_Path_JSON = "/home/denali/Projects/application/settings/bledevices.conf"; #elif BUILD_FOR_TARGET const char *Bluetooth_Saved_Devices_Path_JSON = "/home/root/settings/bledevices.conf"; #endif const char *SDCard_Base_Path_Name = "/media/sd-card/"; }