Update ccapi to 7.9.3 (compatible w/ new boost)

This commit is contained in:
John Colvin committed 2026-03-19 15:17:38 +00:00
1 parent bd7ccb5f44
commit 9fa7a9898e
117 files changed
+9016 -11255

No files matched your search

@@ -1,8 +1,11 @@
#ifndef INCLUDE_CCAPI_CPP_CCAPI_EVENT_HANDLER_H_
#define INCLUDE_CCAPI_CPP_CCAPI_EVENT_HANDLER_H_
#include "ccapi_cpp/ccapi_event.h"
namespace ccapi {
class Session;
/**
* Defines the callback supplied by the application to process Events. Applications which use event driven programming supply instances of their own subclass of
* this class to the Session to receive callbacks when an Event is available.
@@ -10,11 +13,11 @@ class Session;
class EventHandler {
public:
virtual ~EventHandler() {}
virtual bool processEvent(const Event& event, Session* sessionPtr) { return true; }
virtual void processEvent(const Event& event, Session* sessionPtr) {}
// An implementation of processEvent should process the specified
// 'event' which originates from the specified 'session' and
// return true to indicate events should continue to be delivered
// or false to terminate dispatching of events.
// 'event' which originates from the specified 'session'.
//
// If the application wishes to process the event further
// after returning from the processEvents() call it must make
@@ -22,5 +25,6 @@ class EventHandler {
// freed.
// Note: no exceptions are thrown
};
} /* namespace ccapi */
#endif // INCLUDE_CCAPI_CPP_CCAPI_EVENT_HANDLER_H_