kopia lustrzana https://github.com/OpenRTX/OpenRTX
37 wiersze
2.2 KiB
C
37 wiersze
2.2 KiB
C
/***************************************************************************
|
|
* Copyright (C) 2022 by Federico Amedeo Izzo IU2NUO, *
|
|
* Niccolò Izzo IU2KIN, *
|
|
* Silvano Seva IU2KWO *
|
|
* Joseph Stephen VK7JS *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 3 of the License, or *
|
|
* (at your option) any later version. *
|
|
* *
|
|
* This program is distributed in the hope that it will be useful, *
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
* GNU General Public License for more details. *
|
|
* *
|
|
* You should have received a copy of the GNU General Public License *
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
|
***************************************************************************/
|
|
// This file contains functions for announcing radio operations using the
|
|
// building blocks in voicePrompts.h/c.
|
|
#ifndef VOICE_PROMPT_UTILS_H_INCLUDED
|
|
#define VOICE_PROMPT_UTILS_H_INCLUDED
|
|
|
|
#include "voicePrompts.h"
|
|
#include "ui/UIStrings.h"
|
|
#include "cps.h"
|
|
void announceVFO();
|
|
void announceChannelName(channel_t* channel, uint16_t channelIndex, VoicePromptQueueFlags_T flags);
|
|
void announceFrequencies(freq_t rx, freq_t tx, VoicePromptQueueFlags_T flags);
|
|
void announceRadioMode(uint8_t mode, VoicePromptQueueFlags_T flags);
|
|
void announceChannelSummary(channel_t* channel, uint16_t channelIndex,
|
|
VoicePromptQueueFlags_T flags);
|
|
void AnnounceInputChar(char ch);
|
|
void announceInputReceiveOrTransmit(bool tx, VoicePromptQueueFlags_T flags);
|
|
void ReplayLastPrompt();
|
|
void announceError();
|
|
#endif //VOICE_PROMPT_UTILS_H_INCLUDED
|