23 typedef void (*DtReceiveInteractionCb) (
DtInteraction* inter,
void* usr);
28 class DT_DLL_VL DtInteractionCallbackManager
33 struct DtInteractionCallbackInfo
36 DtReceiveInteractionCb cb;
42 DtInteractionCallbackManager();
45 virtual ~DtInteractionCallbackManager();
48 virtual void addInteractionCallback(
const DtString& name,
49 DtReceiveInteractionCb cb,
void* usr);
52 virtual void removeInteractionCallback(
const DtString& name,
53 DtReceiveInteractionCb cb,
void* usr);
61 virtual bool cbInfoAreEqual(
const DtInteractionCallbackInfo& first,
62 const DtInteractionCallbackInfo& second);
66 std::list<DtInteractionCallbackInfo> myInteractionCallbackList;