summaryrefslogtreecommitdiff
path: root/SPICEConsoleAPI.cpp
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-09-28 22:10:47 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2012-10-02 23:09:02 +0200
commitd1e65b496c5465a523c2118c11382f58519f7415 (patch)
tree71fa0d9b87e94601893467e9c2cb0dc55f444359 /SPICEConsoleAPI.cpp
parent978a2c20dde277e8c90d24a535a5271410f8115b (diff)
Remove sample methods
Diffstat (limited to 'SPICEConsoleAPI.cpp')
-rw-r--r--SPICEConsoleAPI.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/SPICEConsoleAPI.cpp b/SPICEConsoleAPI.cpp
index 9529b77..f13dbec 100644
--- a/SPICEConsoleAPI.cpp
+++ b/SPICEConsoleAPI.cpp
@@ -12,21 +12,6 @@
#include "SPICEConsoleAPI.h"
///////////////////////////////////////////////////////////////////////////////
-/// @fn FB::variant SPICEConsoleAPI::echo(const FB::variant& msg)
-///
-/// @brief Echos whatever is passed from Javascript.
-/// Go ahead and change it. See what happens!
-///////////////////////////////////////////////////////////////////////////////
-FB::variant SPICEConsoleAPI::echo(const FB::variant& msg)
-{
- static int n(0);
- fire_echo("So far, you clicked this many times: ", n++);
-
- // return "foobar";
- return msg;
-}
-
-///////////////////////////////////////////////////////////////////////////////
/// @fn SPICEConsolePtr SPICEConsoleAPI::getPlugin()
///
/// @brief Gets a reference to the plugin that was passed in when the object
@@ -75,8 +60,3 @@ void SPICEConsoleAPI::set_SSLChannels(const std::string &aSSLChannels)
}
/* Backward Compatibility: End */
}
-
-void SPICEConsoleAPI::testEvent()
-{
- fire_test();
-}