class InputHandler {
public:
virtual ~InputHandler() {}
- virtual void keyEvent(rdr::U32 keysym, rdr::U32 keycode, bool down) {}
- virtual void pointerEvent(const Point& pos, int buttonMask) {}
- virtual void clientCutText(const char* str, int len) {}
- virtual void keyEvent(rdr::U32 __unused_attr key,
++ virtual void keyEvent(rdr::U32 __unused_attr keysym,
++ rdr::U32 __unused_attr keycode,
+ bool __unused_attr down) { }
+ virtual void pointerEvent(const Point& __unused_attr pos,
+ int __unused_attr buttonMask) { }
+ virtual void clientCutText(const char* __unused_attr str,
+ int __unused_attr len) { }
};
}
// dialog, getpass(), etc. The user buffer pointer can be null, in which
// case no user name will be retrieved. The caller MUST delete [] the
// result(s).
- virtual void getUserPasswd(char** user, char** password)=0;
+ virtual void getUserPasswd(bool secure, char** user, char** password)=0;
+
+ virtual ~UserPasswdGetter() {}
};
}
#endif