mirror of
https://github.com/logos-co/logos-cpp-sdk.git
synced 2026-08-30 17:21:15 +00:00
feat: LogosResult (#14)
* Add LogosResult * Add documentation for complex types * Add get type util function * Add more shorthand functions * Add bool support * Provide more shorthand functions * Throw exception on bad access * Fix typo in doc
This commit is contained in:
@@ -14,12 +14,17 @@ LogosAPI::LogosAPI(const QString& module_name, QObject *parent)
|
||||
|
||||
// Get token manager instance
|
||||
m_token_manager = &TokenManager::instance();
|
||||
|
||||
// Register LogosResult as QVariant type
|
||||
qRegisterMetaType<LogosResult>("LogosResult");
|
||||
}
|
||||
|
||||
LogosAPI::~LogosAPI()
|
||||
{
|
||||
// Provider and client will be automatically deleted as child objects
|
||||
// Token manager is a singleton, so we don't delete it
|
||||
|
||||
|
||||
}
|
||||
|
||||
LogosAPIProvider* LogosAPI::getProvider() const
|
||||
|
||||
Reference in New Issue
Block a user