Skip to main content

You are here

Callback Function In Class

1 post / 0 new
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?


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


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.


Premium Drupal Themes by Adaptivethemes