|
1 # -*- coding: utf-8 -*- |
|
2 |
|
3 # Copyright (c) 2022 Detlev Offenbach <detlev@die-offenbachs.de> |
|
4 # |
|
5 |
|
6 """ |
|
7 Module implementing a data structure holding the data associated with a project browser |
|
8 type. |
|
9 """ |
|
10 |
|
11 from dataclasses import dataclass |
|
12 from typing import Callable |
|
13 |
|
14 from .ProjectBaseBrowser import ProjectBaseBrowser |
|
15 |
|
16 |
|
17 @dataclass |
|
18 class ProjectBrowserRepositoryItem: |
|
19 """ |
|
20 Class holding the data associated with a project browser type. |
|
21 """ |
|
22 projectBrowser: ProjectBaseBrowser |
|
23 projectBrowserUserString: str |
|
24 fileCategory: str |
|
25 getIcon: Callable |
|
26 |