4 #ifndef DJINNI_GENERATED_EVENTPUBLISHER_HPP 5 #define DJINNI_GENERATED_EVENTPUBLISHER_HPP 11 #include <libcore_export.h> 13 #define LIBCORE_EXPORT 17 namespace ledger {
namespace core {
namespace api {
21 class ExecutionContext;
32 virtual std::shared_ptr<EventBus> getEventBus() = 0;
38 virtual void post(
const std::shared_ptr<Event> & event) = 0;
45 virtual void postSticky(
const std::shared_ptr<Event> & event, int32_t tag) = 0;
51 virtual void relay(
const std::shared_ptr<EventBus> & bus) = 0;
57 static std::shared_ptr<EventPublisher> newInstance(
const std::shared_ptr<ExecutionContext> & context);
61 #endif //DJINNI_GENERATED_EVENTPUBLISHER_HPP Definition: EventPublisher.hpp:24
Definition: Account.cpp:8