Guidance-SDK icon indicating copy to clipboard operation
Guidance-SDK copied to clipboard

Use member function as a callback.

Open lounick opened this issue 8 years ago • 3 comments

Hi,

I'm trying to write a wrapper around your SDK. Unfortunately set_sdk_event_handler only accepts a function pointer making it unusable with any member function of a class.

Could you possibly overload the function to accept class member functions? As an example you can see here.

Thanks!

lounick avatar Nov 03 '16 10:11 lounick

Thanks for your suggestion. Will add this type of callback soon.

tangketan avatar Nov 07 '16 06:11 tangketan

Great! Thanks! :smile:

lounick avatar Nov 08 '16 08:11 lounick

Hi @tangketan, can you give me an update about this Issue please? You have added the overloaded function nowaday?

Best regards

loiopol avatar Nov 21 '17 16:11 loiopol