
Returns the application resource data directory.
static CL_String CL_Directory::get_resourcedata( const CL_StringRef & application_name);
Detailed description:
In Windows, this function returns a "Resources" subdirectory located at the executable. If the executable path is "C:\Program Files\My Application\MyApp.exe", then it will return the path "C:\Progam Files\My Application\Resources\".
In OS X, this function returns the Resources inside the application bundle. For example, if the application executable path is "/Applications/MyApplication.app/Contents/MacOS/MyApplication", then it will return "/Applications/MyApplication.app/Contents/Resources/". If the executable is not in an application bundle, it will use the same behavior as in Windows; that is, it will return a "Resources" subdirectory next to the executable.
In Linux, this function will return the directory "../share/application_name/" relative to the executable, so if it is located in "/usr/bin" it will return "/usr/share/application_name/".