@@ -32,7 +32,7 @@ open class EventThread: EventReceiver, EventThreadable {
3232 - Author: Simon J. Stuart
3333 - Version: 4.0.0
3434 */
35- override internal func processEvent( _ event: any Eventable , dispatchMethod: EventDispatchMethod , priority: EventPriority ) {
35+ override open func processEvent( _ event: any Eventable , dispatchMethod: EventDispatchMethod , priority: EventPriority ) {
3636 let eventTypeName = String ( reflecting: type ( of: event) )
3737 var callback : EventCallback ? = nil
3838
@@ -53,7 +53,7 @@ open class EventThread: EventReceiver, EventThreadable {
5353 - callback: The code to invoke for the given `Eventable` Type
5454 - forEventType: The `Eventable` Type for which to Register the Callback
5555 */
56- internal func addEventCallback< TEvent: Eventable > ( _ callback: @escaping TypedEventCallback < TEvent > , forEventType: Eventable . Type ) {
56+ open func addEventCallback< TEvent: Eventable > ( _ callback: @escaping TypedEventCallback < TEvent > , forEventType: Eventable . Type ) {
5757 let eventTypeName = String ( reflecting: forEventType)
5858
5959 _eventCallbacks. withLock { eventCallbacks in
@@ -76,7 +76,7 @@ open class EventThread: EventReceiver, EventThreadable {
7676 - forEvent: The instance of the `Eventable` type to be processed
7777 - priority: The `EventPriority` with which the `forEvent` was dispatched
7878 */
79- internal func callTypedEventCallback< TEvent: Eventable > ( _ callback: @escaping TypedEventCallback < TEvent > , forEvent: Eventable , priority: EventPriority ) {
79+ open func callTypedEventCallback< TEvent: Eventable > ( _ callback: @escaping TypedEventCallback < TEvent > , forEvent: Eventable , priority: EventPriority ) {
8080 if let typedEvent = forEvent as? TEvent {
8181 callback ( typedEvent, priority)
8282 }
@@ -89,7 +89,7 @@ open class EventThread: EventReceiver, EventThreadable {
8989 - Parameters:
9090 - forEventType: The `Eventable` Type for which to Remove the Callback
9191 */
92- internal func removeEventCallback( forEventType: any Eventable ) {
92+ open func removeEventCallback( forEventType: any Eventable ) {
9393 let eventTypeName = String ( reflecting: forEventType)
9494
9595 _eventCallbacks. withLock { eventCallbacks in
@@ -106,7 +106,7 @@ open class EventThread: EventReceiver, EventThreadable {
106106 - Author: Simon J. Stuart
107107 - Version: 4.0.0
108108 */
109- internal func registerEventListeners( ) {
109+ open func registerEventListeners( ) {
110110 // No default implementation
111111 }
112112
0 commit comments