diff options
Diffstat (limited to 'SpiceXPI/src/plugin/plugin.cpp')
-rw-r--r-- | SpiceXPI/src/plugin/plugin.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/SpiceXPI/src/plugin/plugin.cpp b/SpiceXPI/src/plugin/plugin.cpp index bd116e5..793f2ba 100644 --- a/SpiceXPI/src/plugin/plugin.cpp +++ b/SpiceXPI/src/plugin/plugin.cpp @@ -86,6 +86,9 @@ static NS_DEFINE_CID(kPluginManagerCID, NS_PLUGINMANAGER_CID); #include "plugin.h" #include "nsScriptablePeer.h" +DECLARE_NPOBJECT_CLASS_WITH_BASE(ScriptablePluginObject, + AllocateScriptablePluginObject); + namespace { const std::string ver(PACKAGE_VERSION); const std::string PLUGIN_NAME = "Spice Firefox Plugin " + ver; @@ -202,8 +205,6 @@ nsPluginInstance::nsPluginInstance(NPP aInstance): char tmp_dir[] = "/tmp/spicec-XXXXXX"; m_tmp_dir = mkdtemp(tmp_dir); - LOGGER_SECTION("spice.plugin"); - // configure log4cpp std::ifstream log_init(LOGGER_CONFIG.c_str()); if (log_init.good()) @@ -467,6 +468,7 @@ unsigned short nsPluginInstance::GetUsbListenPort() const // this method exists due to RHEVM 2.2 // and should be removed some time in future, // when fixed in RHEVM + return 0; } void nsPluginInstance::SetUsbListenPort(unsigned short aUsbPort) @@ -482,6 +484,7 @@ PRBool nsPluginInstance::GetUsbAutoShare() const // this method exists due to RHEVM 2.2 // and should be removed some time in future, // when fixed in RHEVM + return false; } void nsPluginInstance::SetUsbAutoShare(PRBool aUsbAutoShare) |