summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-11-28 20:07:57 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-11-28 20:16:52 (GMT)
commit5c2567847c73f6095206dfbd451fe2f26f4056aa (patch)
tree06a9ed263bec86531bd08b89242c78b3aeb0d8a0 /Swift/Controllers/XMLConsoleController.cpp
parent85dcc894ccf417ec8b057d868afb1d8006634ac4 (diff)
downloadswift-5c2567847c73f6095206dfbd451fe2f26f4056aa.zip
swift-5c2567847c73f6095206dfbd451fe2f26f4056aa.tar.bz2
Implemented XML console.
Resolves: #135
Diffstat (limited to 'Swift/Controllers/XMLConsoleController.cpp')
-rw-r--r--Swift/Controllers/XMLConsoleController.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/Swift/Controllers/XMLConsoleController.cpp b/Swift/Controllers/XMLConsoleController.cpp
index 4629573..7de5b94 100644
--- a/Swift/Controllers/XMLConsoleController.cpp
+++ b/Swift/Controllers/XMLConsoleController.cpp
@@ -24,4 +24,16 @@ void XMLConsoleController::handleUIEvent(boost::shared_ptr<UIEvent> rawEvent) {
}
}
+void XMLConsoleController::handleDataRead(const String& data) {
+ if (xmlConsoleWidget) {
+ xmlConsoleWidget->handleDataRead(data);
+ }
+}
+
+void XMLConsoleController::handleDataWritten(const String& data) {
+ if (xmlConsoleWidget) {
+ xmlConsoleWidget->handleDataWritten(data);
+ }
+}
+
}