22 #include <botan/botan.h>
30 #define KAA_DEPRECATED __attribute__ ((deprecated))
31 #elif defined(_MSC_VER)
32 #define KAA_DEPRECATED __declspec(deprecated)
34 #pragma message("WARNING: You need to implement KAA_DEPRECATED for this compiler")
79 static void init(
int options = 0);
124 static Botan::LibraryInitializer botanInit_;
125 static std::shared_ptr<IKaaClient> client_;
std::shared_ptr< IKaaClientPlatformContext > IKaaClientPlatformContextPtr
Kaa()=delete
Use newClient() to create a Kaa client instance.
Kaa & operator=(const Kaa &)=delete
Use newClient() to create a Kaa client instance.
static KAA_DEPRECATED IKaaClient & getKaaClient()
Retrieves the Kaa client.
static std::shared_ptr< IKaaClient > newClient(IKaaClientPlatformContextPtr context=std::make_shared< KaaClientPlatformContext >(), IKaaClientStateListenerPtr listener=IKaaClientStateListenerPtr())
Creates a new instance of a Kaa client.
static KAA_DEPRECATED void start()
Starts Kaa's workflow.
static KAA_DEPRECATED void resume()
Resumes Kaa's workflow.
static KAA_DEPRECATED void init(int options=0)
Initialize Kaa library.
Creates a new Kaa client based on IKaaClientPlatformContext and optional IKaaClientStateListener.
static KAA_DEPRECATED void pause()
Pauses Kaa's workflow.
static KAA_DEPRECATED void stop()
Stops Kaa's workflow.
std::shared_ptr< IKaaClientStateListener > IKaaClientStateListenerPtr