blob: 533546c54d2ac30f679d82706e55511b2486fd12 [file] [log] [blame]
Philipp Le84173f62022-04-19 22:27:12 +02001# SPDX-License-Identifier: MPL-2.0
2# Copyright (c) 2022 Philipp Le <philipp@philipple.de>.
3# This Source Code Form is subject to the terms of the Mozilla Public
4# License, v. 2.0. If a copy of the MPL was not distributed with this
5# file, You can obtain one at https://mozilla.org/MPL/2.0/.
6
7from typing import List, Type
8from . import base
9
Philipp Leb0e45c82022-04-19 22:03:44 +020010from .ch02_phasor import Ch02PhasorWindow
11
Philipp Le84173f62022-04-19 22:27:12 +020012
13def get_windows() -> List[Type[base.Window]]:
14 return [
Philipp Leb0e45c82022-04-19 22:03:44 +020015 Ch02PhasorWindow,
Philipp Le84173f62022-04-19 22:27:12 +020016 ]
17
18
19def get_groups() -> List[Type[base.Group]]:
20 return base.get_groups(get_windows())
21
22
23def get_win_of_group(grp: Type[base.Group]) -> List[Type[base.Window]]:
24 return base.get_win_of_group(get_windows(), grp)