
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:\Program Files\My Application\MyApp.uot;, then it will rell returnpath "ogramogram Filespplicpplicaplication\dir_ndir_name\".In OS X, this function returns a "Resources" subdirectory inside the aption e. For For example, if thef the application executable path is "/Applications/MyApplication.app/Contents/MacOS/MyApplication", it will return "/Applications/MyApplication.app/Cont/Contents/Rees/". ot;. If the executable is not in an application bundle, it will use the same behavior as in Windows; that isctorectory ne y ne thne the the exec execuexecutabletabletable.able.In Linux, this function will return the directory "../share/application_name/" relativthe executable, so , so if it is located in "/in&qut r it return &qrn &qusr/share/aare/aption_tion_name/""