What's wrong with TextLayoutTransition? Can function pointers not be declared virtual?
LCDWrapper.h:23: error: function definition does not declare parameters
Here's the class.
class LCDInterface {
public:
// Slots
virtual void TextSetSpecialChars() = 0;
virtual void LayoutChangeBefore() = 0;
virtual void LayoutChangeAfter() = 0;
virtual void TextSpecialCharChanged(unsigned int i) = 0;
virtual void ChangeLayout() = 0;
virtual void (*TextLayoutTransition)(Generic<LCDText> *v){}; // line 23
virtual void TransitionFinished() = 0;
};
Edit: Slightly related, and related to Qt, can function pointers be declared as slots/signals?