diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2012-09-29 14:59:31 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2012-10-02 23:09:03 +0200 |
commit | 71360e3837b6f5a222c5441262f96bdcb803af16 (patch) | |
tree | 32f24d0a4bb9663debd4e637ef32d4ed4cfb6e22 | |
parent | 2857a37b448ba6f8f2a94ca83fca50d4e2f87065 (diff) |
Implement SetUSBFilter
This really should be an attribute...
-rw-r--r-- | SPICEConsoleAPI.cpp | 4 | ||||
-rw-r--r-- | SPICEConsoleAPI.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/SPICEConsoleAPI.cpp b/SPICEConsoleAPI.cpp index 030accd..7774308 100644 --- a/SPICEConsoleAPI.cpp +++ b/SPICEConsoleAPI.cpp @@ -51,7 +51,9 @@ void SPICEConsoleAPI::SetLanguageStrings(const std::string §ion, } void SPICEConsoleAPI::SetUsbFilter(const std::string &filter) -{} +{ + m_usb_filter = filter; +} int SPICEConsoleAPI::ConnectedStatus() { diff --git a/SPICEConsoleAPI.h b/SPICEConsoleAPI.h index e4125aa..c0dce9a 100644 --- a/SPICEConsoleAPI.h +++ b/SPICEConsoleAPI.h @@ -96,6 +96,7 @@ private: SPICEConsoleWeakPtr m_plugin; FB::BrowserHostPtr m_host; std::map<std::string, std::string> m_languages; + std::string m_usb_filter; /* Properties */ std::string m_SSLChannels; |