I'm trying to add the ListViewItemEventListener I have in a class called Main to a class named Search so I can handle the events for the classes in the same listener. But I don't know how I can achieve this goal, or if even is possible?
This of course works:
__pList->AddListViewItemEventListener(*this);
But then it will use the listener for the Search-class. I want something like:
__pList->AddListViewItemEventListener(Main ListViewItemEventListener);
Hope someone knows how to do this.
Thanks for any help!