forgot the new method
This commit is contained in:
parent
050f7abf89
commit
2ffb9f2be4
@ -99,6 +99,10 @@ struct ToxEventProviderI {
|
||||
|
||||
virtual void subscribe(ToxEventI* object, const Tox_Event_Type event_type) = 0;
|
||||
virtual void unsubscribe(ToxEventI* object, const Tox_Event_Type event_type) = 0;
|
||||
|
||||
SubscriptionReference newSubRef(ToxEventI* object) {
|
||||
return SubscriptionReference{*this, object};
|
||||
}
|
||||
};
|
||||
|
||||
constexpr Tox_Event_Type tox_event_from_string(const std::string_view str) {
|
||||
|
Loading…
Reference in New Issue
Block a user