| Philipp Le | 84173f6 | 2022-04-19 22:27:12 +0200 | [diff] [blame^] | 1 | # 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 | |
| 7 | from typing import List, Type |
| 8 | from . import base |
| 9 | |
| 10 | |
| 11 | def get_windows() -> List[Type[base.Window]]: |
| 12 | return [ |
| 13 | ] |
| 14 | |
| 15 | |
| 16 | def get_groups() -> List[Type[base.Group]]: |
| 17 | return base.get_groups(get_windows()) |
| 18 | |
| 19 | |
| 20 | def get_win_of_group(grp: Type[base.Group]) -> List[Type[base.Window]]: |
| 21 | return base.get_win_of_group(get_windows(), grp) |