sead
Loading...
Searching...
No Matches
seadAssertConfig.h
Go to the documentation of this file.
1#ifndef SEAD_ASSERT_CONFIG_H_
2#define SEAD_ASSERT_CONFIG_H_
3
4#include <prim/seadDelegateEventSlot.h>
5
6namespace sead {
7
9{
10public:
11 static void registerCallback(DelegateEvent<const char*>::Slot& slot);
12 static void unregisterCallback(DelegateEvent<const char*>::Slot& slot);
13
14 static void registerFinalCallback(IDelegate1<const char*>* callback);
15
16 static void execCallbacks(const char* assert_msg);
17
18private:
19 static IDelegate1<const char*>* sFinalCallback;
20 static DelegateEvent<const char*> sAssertEvent;
21};
22
23} // namespace sead
24
25#endif // SEAD_ASSERT_CONFIG_H_
Definition seadAssertConfig.h:9
static void unregisterCallback(DelegateEvent< const char * >::Slot &slot)
Definition seadAssertConfig.cpp:13
static void registerFinalCallback(IDelegate1< const char * > *callback)
Definition seadAssertConfig.cpp:18
static void execCallbacks(const char *assert_msg)
Definition seadAssertConfig.cpp:23
static IDelegate1< const char * > * sFinalCallback
Definition seadAssertConfig.h:19
static DelegateEvent< const char * > sAssertEvent
Definition seadAssertConfig.h:20
static void registerCallback(DelegateEvent< const char * >::Slot &slot)
Definition seadAssertConfig.cpp:8
Definition seadDelegateEventSlot.h:12
Definition seadDelegate.h:266
Definition seadAssert.h:44