
Returns the application resource data directory.
static CL_String CL_Directory::get_resourcedata( const CL_StringRef & application_name, const CL_StringRef & data_dir_name = "Resources");
Detailed description:
In Windows, this function returns a data_dir_name subdirectory located at the executable. If the executable path is "C:\ProFiles\My Application\MyApp.exe", then it will rell returnpath ;ogramogram ppli pplicationation\tion\dir_name\&ame\".uot;.In OS X, this function returns a "Resources& subdirectory inside the application bundle. For For example, if the application executable path is "/Applications/MyApplicatio/Contents/MacOS/MyApplication&quon", then it will return "/catioApplication.app/Cont/Contents/Resources/". If thIf the executablnot in an application bundle, it wilt will use the same behavior as in Windows; that isir_namr_nameireceireceirectirectirectory tory ne the the executable.In Linux, this function will return the directory "..//application_name/" relative to the executable, so , so if it isted in "/uot;/ot; iurn &qrn &qhareshareshare/apti/apti/aption_tion_name/name/"