summaryrefslogtreecommitdiff
path: root/setup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'setup.cpp')
-rw-r--r--setup.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/setup.cpp b/setup.cpp
index 534cfb4..0c78d5a 100644
--- a/setup.cpp
+++ b/setup.cpp
@@ -93,4 +93,10 @@ bool Setup::CheckServerIps()
return true;
}
+Setup& LiveSetup()
+{
+ static Setup instance;
+ return instance;
+}
+
} // namespace vdrlive