Skip to main content

You are here

Callback Function In Class

1 post / 0 new
e12pilot
Callback Function In Class

Hi All, Was wondering if anyone knew of a way to have the ether.browseUrl method use a function that is contained within a class as it's callback?

I.e.:

ether.browseUrl(PSTR("/foo/"), "bar", website, my_result_cb);

To:

ether.browseUrl(PSTR("/foo/"), "bar", website, MyClass::my_result_cb);

Currently it will error out if I try and use a function that is a member of a class. Any ideas here would be much appreciated.

Thanks!

Premium Drupal Themes by Adaptivethemes