mirror of
https://github.com/logos-co/logos-cpp-sdk.git
synced 2026-08-31 09:41:06 +00:00
* refactor: abstract connection/transport; and clearly separate qt remote obj and qt local into separate implementations * abstract qt remote registry * add mock implementation; these serves to further test the abstraction but also useful for testing modules later * use LogosObject instead of QObject * abstract provider side * updates to use new api * re-add async api back --------- Co-authored-by: Logos Workspace <logos@workspace.local>
18 lines
439 B
C++
18 lines
439 B
C++
#ifndef MOCK_REGISTRY_H
|
|
#define MOCK_REGISTRY_H
|
|
|
|
#include "../../logos_registry.h"
|
|
|
|
/**
|
|
* @brief Trivial LogosRegistry implementation for mock mode.
|
|
*
|
|
* No real registry endpoint is needed in mock mode; this implementation
|
|
* simply reports itself as initialized so that callers do not stall.
|
|
*/
|
|
class MockRegistry : public LogosRegistry {
|
|
public:
|
|
bool isInitialized() const override { return true; }
|
|
};
|
|
|
|
#endif // MOCK_REGISTRY_H
|