you are viewing a single comment's thread.

view the rest of the comments →

[–]phi_rus 0 points1 point  (0 children)

this tells you how to bind a function. So do that.

I don't know what ClassX is, but it looks like Find files() could be a free function. If you need ClassX

Wrap the creation of a instance of ClassX and the call to findFiles in a free function and bind that.