/** * @file * * @author Max Lammers * @author Mamadou Babaei * * @section LICENSE * * Copyright (c) 2020 - 2025 SenseGlove * * @section DESCRIPTION * * Information about the SGCore C++ Library. */ #pragma once #include #include #include "Platform.hpp" namespace SGCore { enum SGCORE_API EBackendType : uint32_t { /// Backend info comes from shared memory on the device. SharedMemory, /// Back-end Data comes from an Android Library AndroidStrings, }; /// Provides information about this C++ Library. class SGCORE_API Library; } /// Provides information about this C++ Library. class SGCORE_API SGCore::Library { public: /// The version of this C++ Library in string representation. /// static std::string Version(); /// Check what back-end connections are used for this version of SGConnect. /// static EBackendType GetBackendType(); /// Back-End version in string notation /// static std::string BackendVersion(); /// If possible, check what version of SGConnect is paired with this API. /// static std::string SGConnectVersion(); public: Library() = delete; virtual ~Library() = delete; };