summaryrefslogtreecommitdiffstats
path: root/client/application.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/application.h
parent4b7c66cafc7b250f4517cfb1e415a2889abec994 (diff)
downloadspice-a50619e7334ff3620034a8b2ea75ceeffd4a805a.tar.gz
spice-a50619e7334ff3620034a8b2ea75ceeffd4a805a.tar.xz
spice-a50619e7334ff3620034a8b2ea75ceeffd4a805a.zip
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/application.h')
-rw-r--r--client/application.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/application.h b/client/application.h
index cbbcaa30..3f9940d3 100644
--- a/client/application.h
+++ b/client/application.h
@@ -227,7 +227,9 @@ public:
void external_show();
void connect();
void switch_host(const std::string& host, int port, int sport, const std::string& cert_subject);
+#ifdef USE_SMARTCARD
void enable_smartcard(bool enable);
+#endif
const PeerConnectionOptMap& get_con_opt_map() {return _peer_con_opt;}
const RedPeer::HostAuthOptions& get_host_auth_opt() { return _host_auth_opt;}