feat: Main window and sub-window registration
Change-Id: I1cdb905ba06139f8b6f63b7411c7c0c3f8f821fa
diff --git a/dcs/frames/__init__.py b/dcs/frames/__init__.py
new file mode 100644
index 0000000..4e5dd51
--- /dev/null
+++ b/dcs/frames/__init__.py
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: MPL-2.0
+# Copyright (c) 2022 Philipp Le <philipp@philipple.de>.
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at https://mozilla.org/MPL/2.0/.
+
+from typing import List, Type
+from . import base
+
+
+def get_windows() -> List[Type[base.Window]]:
+ return [
+ ]
+
+
+def get_groups() -> List[Type[base.Group]]:
+ return base.get_groups(get_windows())
+
+
+def get_win_of_group(grp: Type[base.Group]) -> List[Type[base.Window]]:
+ return base.get_win_of_group(get_windows(), grp)