@@ -77,19 +77,19 @@ namespace ESPressio {
7777 // Callback Getters
7878
7979 // / `GetOnInitialized` returns the callback to be invoked when the Thread is initialized.
80- virtual std::function<void (IThread*)> GetOnInitialized () = 0;
80+ virtual std::function<void (IThread*)> GetOnInitialize () = 0;
8181
8282 // / `GetOnStarted` returns the callback to be invoked when the Thread is started.
83- virtual std::function<void (IThread*)> GetOnStarted () = 0;
83+ virtual std::function<void (IThread*)> GetOnStarte () = 0;
8484
8585 // / `GetOnPaused` returns the callback to be invoked when the Thread is paused.
86- virtual std::function<void (IThread*)> GetOnPaused () = 0;
86+ virtual std::function<void (IThread*)> GetOnPause () = 0;
8787
8888 // / `GetOnTerminated` returns the callback to be invoked when the Thread is terminated.
89- virtual std::function<void (IThread*)> GetOnTerminated () = 0;
89+ virtual std::function<void (IThread*)> GetOnTerminate () = 0;
9090
9191 // / `GetOnDestroying` returns the callback to be invoked when the Thread is being destroyed.
92- virtual std::function<void (IThread*)> GetOnDestroying () = 0;
92+ virtual std::function<void (IThread*)> GetOnDestroy () = 0;
9393
9494 // Setters
9595
@@ -109,23 +109,23 @@ namespace ESPressio {
109109
110110 // / `SetOnInitialized` sets the callback to be invoked when the Thread is initialized.
111111 // / The callback function takes `IThread*` and ideally named `sender`.
112- virtual void SetOnInitialized (std::function<void (IThread*)>) = 0;
112+ virtual void SetOnInitialize (std::function<void (IThread*)>) = 0;
113113
114114 // / `SetOnStarted` sets the callback to be invoked when the Thread is started.
115115 // / The callback function takes `IThread*` and ideally named `sender`.
116- virtual void SetOnStarted (std::function<void (IThread*)>) = 0;
116+ virtual void SetOnStarte (std::function<void (IThread*)>) = 0;
117117
118118 // / `SetOnPaused` sets the callback to be invoked when the Thread is paused.
119119 // / The callback function takes `IThread*` and ideally named `sender`.
120- virtual void SetOnPaused (std::function<void (IThread*)>) = 0;
120+ virtual void SetOnPause (std::function<void (IThread*)>) = 0;
121121
122122 // / `SetOnTerminated` sets the callback to be invoked when the Thread is terminated.
123123 // / The callback function takes `IThread*` and ideally named `sender`.
124- virtual void SetOnTerminated (std::function<void (IThread*)>) = 0;
124+ virtual void SetOnTerminate (std::function<void (IThread*)>) = 0;
125125
126126 // / `SetOnDestroying` sets the callback to be invoked when the Thread is being destroyed.
127127 // / The callback function takes `IThread*` and ideally named `sender`.
128- virtual void SetOnDestroying (std::function<void (IThread*)>) = 0;
128+ virtual void SetOnDestroy (std::function<void (IThread*)>) = 0;
129129 };
130130
131131 }
0 commit comments