Add platform method to return executable(bundle)'s version.

This commit is contained in:
Cheng Zhao 2013-06-19 13:41:54 +08:00
parent c9e9080a35
commit a79649c43f
2 changed files with 11 additions and 0 deletions

View file

@ -30,6 +30,9 @@ class Browser : public WindowListObserver {
// Focus the application.
void Focus();
// Returns the version of the executable (or bundle).
std::string GetVersion();
// Tell the application to open a file.
bool OpenFile(const std::string& file_path);