summaryrefslogtreecommitdiffstats
path: root/client/controller.h
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-02-29 11:48:15 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2012-02-29 18:20:01 +0100
commita50619e7334ff3620034a8b2ea75ceeffd4a805a (patch)
tree85b8eb4e141f7c7f30cc66c3f4e10bdc76145232 /client/controller.h
parent4b7c66cafc7b250f4517cfb1e415a2889abec994 (diff)
Fix compilation when smartcard support is disabled
The addition of smartcard control to the controller doesn't handle the case when smartcard support is disabled at compile time. When this is the case, this causes compile errors.
Diffstat (limited to 'client/controller.h')
-rw-r--r--client/controller.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/controller.h b/client/controller.h
index ef996e94..a59d333d 100644
--- a/client/controller.h
+++ b/client/controller.h
@@ -50,7 +50,9 @@ public:
virtual Menu* get_app_menu() = 0;
virtual void set_menu(Menu* menu) = 0;
virtual void delete_menu() = 0;
+#ifdef USE_SMARTCARD
virtual void enable_smartcard(bool enable) = 0;
+#endif
};
class Controller : public NamedPipe::ListenerInterface {