summaryrefslogtreecommitdiff
path: root/src/WebRTCPeer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/WebRTCPeer.cpp')
-rw-r--r--src/WebRTCPeer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/WebRTCPeer.cpp b/src/WebRTCPeer.cpp
index 38303e1..f7572ad 100644
--- a/src/WebRTCPeer.cpp
+++ b/src/WebRTCPeer.cpp
@@ -1,5 +1,7 @@
#include "WebRTCPeer.hpp"
+using namespace godot_webrtc;
+
void WebRTCPeer::set_write_mode(godot_int mode) {
}
@@ -64,6 +66,9 @@ void WebRTCPeer::_init() {
register_interface(&interface);
}
+WebRTCPeer::WebRTCPeer() {
+}
+
WebRTCPeer::~WebRTCPeer() {
if (_owner) {
printf("Unbinding PacketPeer interface");