common.hpp 487 B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include <string>
  3. #include <string_view>
  4. namespace smartbotic::common {
  5. /// Application version information
  6. struct Version {
  7. static constexpr int kMajor = 0;
  8. static constexpr int kMinor = 1;
  9. static constexpr int kPatch = 0;
  10. [[nodiscard]] static auto GetString() -> std::string;
  11. };
  12. /// Initialize common logging and utilities
  13. void Initialize(std::string_view app_name);
  14. /// Shutdown common resources
  15. void Shutdown();
  16. } // namespace smartbotic::common