X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=nucleus%2Flibrary%2Fconfiguration%2Fapplication_configuration.h;h=34d5775164593bd3881c9e3286a513b931b16c59;hb=2d2b1d669337dd8843f785c2f3d9c6048f730252;hp=bb829304df71db201e8547c51298d1643f17242a;hpb=9c71eb9a29db75fcc1e6376e32a96ea8cf07006a;p=feisty_meow.git diff --git a/nucleus/library/configuration/application_configuration.h b/nucleus/library/configuration/application_configuration.h index bb829304..34d57751 100644 --- a/nucleus/library/configuration/application_configuration.h +++ b/nucleus/library/configuration/application_configuration.h @@ -74,9 +74,20 @@ public: //!< retrieves the core binary directory location from paths.ini. static basis::astring get_logging_directory(); - //!< returns the directory where log files will be stored. + //!< returns the folder where the log files for the feisty meow system are stored. + /*!< any log files should be written to this folder by the rest of the codebase, + unless there are special purposes for those log files. but logs from general + operation of feisty meow should be written in this directory. */ + + static basis::astring get_virtual_unix_root(); + //!< returns the path to the unix root, which may be simulated. + /*!< on unix, this will just return '/'. on win32 with cygwin installed, + this will return the cygwin path for '/' that was detected at build time. + this is often "c:/cygwin", which we use as a default if the path isn't + detected properly. */ // the following are key names within the main configuration file. + // not generally for external use. static const basis::astring &GLOBAL_SECTION_NAME(); //!< the root section name for our configuration items in the main ini file. @@ -91,10 +102,20 @@ public: /*!< this is where all files for this product are stored on "this" machine. */ static const basis::astring &LOGGING_FOLDER_NAME(); - //!< the location where the log files for the system are stored. - /*!< this is always considered to be a directory under the local folder. - the make_logfile_name() function (see below) can be used to create a - properly formed filename for logging. */ + //!< the tag used for finding our logging path in the paths config file. + + static const basis::astring &WINDOZE_VIRTUAL_ROOT_NAME(); + //!< the tag used for looking up the virtual windows path in the paths config file. + + static const basis::astring &DEFAULT_VIRTUAL_UNIX_ROOT(); + //!< default value if we don't find our setting for virtual root. + /*!< this is bound to fail on many occasions if it's actually used on + windoze for the default, but if we don't have good information ready, + we can't just intuit the virtual unix root; we are not kreskin. the + virtual unix environment could be MSYS, Cygwin, or others. Currently, + if Cygwin is used during the build process, then the default should + never be needed. support for other systems will be added as time + permits and users clamor for them. */ // helper methods.