e1b5e5e1bf
We deduce the name of the application from the CFBundleName of the .app bundle and use a path based on that. Similar logic should be implementable for other platforms. Fixes #3.
12 lines
178 B
C++
12 lines
178 B
C++
#ifndef BRIGHTRAY_COMMON_APPLICATION_NAME_H_
|
|
#define BRIGHTRAY_COMMON_APPLICATION_NAME_H_
|
|
|
|
#include <string>
|
|
|
|
namespace brightray {
|
|
|
|
std::string GetApplicationName();
|
|
|
|
}
|
|
|
|
#endif
|