summaryrefslogtreecommitdiffstats
path: root/xbmc/network/IWSDiscovery.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/network/IWSDiscovery.h')
-rw-r--r--xbmc/network/IWSDiscovery.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/xbmc/network/IWSDiscovery.h b/xbmc/network/IWSDiscovery.h
new file mode 100644
index 0000000..47142dc
--- /dev/null
+++ b/xbmc/network/IWSDiscovery.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (C) 2021- Team Kodi
+ * This file is part of Kodi - https://kodi.tv
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ * See LICENSES/README.md for more information.
+ */
+
+#pragma once
+
+#include <memory>
+
+namespace WSDiscovery
+{
+class IWSDiscovery
+{
+public:
+ virtual ~IWSDiscovery() = default;
+ virtual bool StartServices() = 0;
+ virtual bool StopServices() = 0;
+ virtual bool IsRunning() = 0;
+
+ static std::unique_ptr<IWSDiscovery> GetInstance();
+};
+} // namespace WSDiscovery