Describes interface of object which could have callback mechanism with only one callback function.
You can find more information in comments below.
class IFeedback
{
public:
typedef void(*Callback)(void *param); // Callback function prototype
protected:
virtual void FeedbackCallback() = 0; // Call to call callback function if it exists
public:
virtual IFeedbackService *QueryService() = 0; // Return service
};
Namespace: | nitisa |
Include: | Nitisa/Interfaces/IFeedback.h |