2019-11-28 23:48:11 -05:00
|
|
|
"""
|
2020-09-24 19:02:12 -04:00
|
|
|
Information about callsigns for the prefixes command in hamcog.
|
2019-11-28 23:48:11 -05:00
|
|
|
---
|
2023-01-29 00:43:56 -05:00
|
|
|
Copyright (C) 2019-2023 classabbyamp, 0x5c
|
2019-11-28 23:48:11 -05:00
|
|
|
|
2021-06-26 20:23:55 -04:00
|
|
|
SPDX-License-Identifier: LiLiQ-Rplus-1.1
|
2019-11-28 23:48:11 -05:00
|
|
|
"""
|
|
|
|
|
2020-10-28 21:04:14 -04:00
|
|
|
|
|
|
|
from dataclasses import dataclass
|
|
|
|
|
2020-09-24 19:02:12 -04:00
|
|
|
from .callsigninfos import (us, ca)
|
2020-01-31 06:50:50 -05:00
|
|
|
|
2019-11-28 23:48:11 -05:00
|
|
|
|
2020-10-28 21:04:14 -04:00
|
|
|
@dataclass
|
|
|
|
class CallsignInfoData:
|
|
|
|
"""Represents a country's callsign info"""
|
|
|
|
title: str = ""
|
|
|
|
desc: str = ""
|
|
|
|
calls: str = ""
|
|
|
|
emoji: str = ""
|
|
|
|
|
|
|
|
|
2020-09-24 19:02:12 -04:00
|
|
|
options = {
|
2020-10-28 21:04:14 -04:00
|
|
|
"us": CallsignInfoData(us.title, us.desc, us.calls, us.emoji),
|
|
|
|
"ca": CallsignInfoData(ca.title, ca.desc, ca.calls, ca.emoji),
|
2020-09-24 19:02:12 -04:00
|
|
|
}
|