summaryrefslogtreecommitdiffstats
path: root/client/application.h
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-09-15 15:54:43 +0200
committerAlon Levy <alevy@redhat.com>2010-12-07 13:31:31 +0200
commita2afcde061a488713119e03774915ea752757824 (patch)
treed2df06b1b5345474750b03fcc2d86166608650c6 /client/application.h
parent611e542c6c2b6f9aa0dea90f4f5949d1e52fd543 (diff)
downloadspice-a2afcde061a488713119e03774915ea752757824.tar.gz
spice-a2afcde061a488713119e03774915ea752757824.tar.xz
spice-a2afcde061a488713119e03774915ea752757824.zip
smartcard: client side (not enabled yet)
Diffstat (limited to 'client/application.h')
-rw-r--r--client/application.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/client/application.h b/client/application.h
index 5a5a488f..f9bbd53b 100644
--- a/client/application.h
+++ b/client/application.h
@@ -29,6 +29,9 @@
#include "foreign_menu.h"
#include "controller.h"
+#ifdef USE_SMARTCARD
+struct SmartcardOptions;
+#endif
class RedScreen;
class Application;
class ScreenLayer;
@@ -268,6 +271,12 @@ public:
void message_box_test();
#endif
+#ifdef USE_SMARTCARD
+ const SmartcardOptions* get_smartcard_options() const {
+ return _smartcard_options;
+ }
+#endif
+
static int main(int argc, char** argv, const char* version_str);
private:
@@ -386,6 +395,9 @@ private:
bool _during_host_switch;
State _state;
+#ifdef USE_SMARTCARD
+ SmartcardOptions* _smartcard_options;
+#endif
};
#endif