aboutsummaryrefslogtreecommitdiff
path: root/context.cpp
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-02-19 04:29:47 +0300
committerlink2xt <link2xt@testrun.org>2021-02-19 04:29:47 +0300
commit7bbdbbe7fbc95573876657bd483a729ae04a2717 (patch)
tree61aedac0174ad2a50a55297519074b039f556a14 /context.cpp
parent818e028807b80be0b3c5265c7b7ca7376e76acf1 (diff)
downloadkdeltachat-7bbdbbe7fbc95573876657bd483a729ae04a2717.tar.gz
kdeltachat-7bbdbbe7fbc95573876657bd483a729ae04a2717.zip
Context: implement startIo, stopIo and maybeNetwork
They are not supposed to be used as they can be called from account manager, just for completeness.
Diffstat (limited to 'context.cpp')
-rw-r--r--context.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/context.cpp b/context.cpp
index 1e44f7e..cc415f0 100644
--- a/context.cpp
+++ b/context.cpp
@@ -28,6 +28,24 @@ Context::isConfigured() const
return dc_is_configured(m_context);
}
+void
+Context::startIo()
+{
+ dc_start_io(m_context);
+}
+
+void
+Context::stopIo()
+{
+ dc_stop_io(m_context);
+}
+
+void
+Context::maybeNetwork()
+{
+ dc_maybe_network(m_context);
+}
+
QString
Context::getInfo()
{