summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-11-16 17:51:09 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2012-11-16 17:51:09 +0100
commit81a2cc57f605c5d46b68f300c1aa73394d82ae21 (patch)
tree5434cfe5679ea1bf81c6f840076a5d1cb0bea111
parente8ca47be43034b4b913810f224a6777b89c27530 (diff)
Use empty variants for unset valuesHEADmaster
-rw-r--r--SPICEConsoleAPI.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/SPICEConsoleAPI.h b/SPICEConsoleAPI.h
index 814c397..9ad5450 100644
--- a/SPICEConsoleAPI.h
+++ b/SPICEConsoleAPI.h
@@ -74,27 +74,27 @@ public:
&SPICEConsoleAPI::get_SSLChannels,
&SPICEConsoleAPI::set_SSLChannels));
- registerAttribute("hostIP", "");
+ registerAttribute("hostIP", FB::variant());
registerAttribute("port", FB::variant());
registerAttribute("SecurePort", FB::variant());
- registerAttribute("Password", "");
- registerAttribute("CipherSuite", "");
- registerAttribute("TrustStore", "");
- registerAttribute("HostSubject", "");
- registerAttribute("fullScreen", false);
- registerAttribute("Smartcard", false);
- registerAttribute("AdminConsole", false);
- registerAttribute("Title", "");
- registerAttribute("dynamicMenu", "");
- registerAttribute("NumberOfMonitors", "");
- registerAttribute("GuestHostName", "");
- registerAttribute("HotKey", "");
- registerAttribute("NoTaskMgrExecution", false);
+ registerAttribute("Password", FB::variant());
+ registerAttribute("CipherSuite", FB::variant());
+ registerAttribute("TrustStore", FB::variant());
+ registerAttribute("HostSubject", FB::variant());
+ registerAttribute("fullScreen", FB::variant());
+ registerAttribute("Smartcard", FB::variant());
+ registerAttribute("AdminConsole", FB::variant());
+ registerAttribute("Title", FB::variant());
+ registerAttribute("dynamicMenu", FB::variant());
+ registerAttribute("NumberOfMonitors", FB::variant());
+ registerAttribute("GuestHostName", FB::variant());
+ registerAttribute("HotKey", FB::variant());
+ registerAttribute("NoTaskMgrExecution", FB::variant());
registerAttribute("SendCtrlAltDelete", true);
- registerAttribute("UsbListenPort", "");
+ registerAttribute("UsbListenPort", FB::variant());
registerAttribute("UsbAutoShare", true);
- registerAttribute("ColorDepth", "");
- registerAttribute("DisableEffects", "");
+ registerAttribute("ColorDepth", FB::variant());
+ registerAttribute("DisableEffects", FB::variant());
}
///////////////////////////////////////////////////////////////////////////////