summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-09-29 12:57:54 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2012-10-02 23:09:03 +0200
commit2857a37b448ba6f8f2a94ca83fca50d4e2f87065 (patch)
tree6fbe88b5bf56eb893340623848ca66e13dc826df
parent2638a957420cad42050b259abf465b1a6d46d923 (diff)
Add ondisconnected JS event
-rw-r--r--SPICEConsoleAPI.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/SPICEConsoleAPI.h b/SPICEConsoleAPI.h
index ca9a093..e4125aa 100644
--- a/SPICEConsoleAPI.h
+++ b/SPICEConsoleAPI.h
@@ -89,6 +89,9 @@ public:
std::string get_SSLChannels() const;
void set_SSLChannels(const std::string &aSSLChannels);
+ // Events
+ FB_JSAPI_EVENT(disconnected, 1, (int));
+
private:
SPICEConsoleWeakPtr m_plugin;
FB::BrowserHostPtr m_host;