diff options
author | Chris Wilson <chris+github@qwirx.com> | 2009-08-25 23:25:19 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2009-08-25 23:25:19 +0000 |
commit | f3d2fdf26690bf8a05605dcbb5ae2a2a689f3438 (patch) | |
tree | a790c50ca2eb1e04338d727e44be6711eb4bfe90 | |
parent | 43d82b0b61b6eebbbfbca6e21754d085afe5d886 (diff) |
Make the version of Box Backup available for use in Boxi.
-rw-r--r-- | lib/common/Utils.cpp | 5 | ||||
-rw-r--r-- | lib/common/Utils.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/lib/common/Utils.cpp b/lib/common/Utils.cpp index 6cac5587..6f21330d 100644 --- a/lib/common/Utils.cpp +++ b/lib/common/Utils.cpp @@ -30,6 +30,11 @@ #include "MemLeakFindOn.h" +std::string GetBoxBackupVersion() +{ + return BOX_VERSION; +} + // -------------------------------------------------------------------------- // // Function diff --git a/lib/common/Utils.h b/lib/common/Utils.h index 25b90e74..8d98a520 100644 --- a/lib/common/Utils.h +++ b/lib/common/Utils.h @@ -15,6 +15,8 @@ #include "MemLeakFindOn.h" +std::string GetBoxBackupVersion(); + void SplitString(const std::string &String, char SplitOn, std::vector<std::string> &rOutput); #ifdef SHOW_BACKTRACE_ON_EXCEPTION |