forked from w5xd/Digi-Rite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIQsoQueue.cs
26 lines (22 loc) · 869 Bytes
/
IQsoQueue.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* the differences between contest and casual exchanges
* is handled by classes that both comply with these interfaces. */
namespace DigiRite
{
public delegate void IsConversationMessage(Conversation.Origin reason);
public interface IQsoQueue
{
string MyCall { set; }
string MyBaseCall { set; }
void OnCycleBeginning(int cycleNumber);
bool InitiateQso(RecentMessage rm, short band, bool onHisFrequency, System.Action onUsed=null);
void MessageForMycall(RecentMessage recentMessage,
bool directlyToMe, string callQsled, short band,
bool autoStart, IsConversationMessage onUsed);
}
public interface IQsoSequencer
{
bool OnReceivedNothing(); // return true on sent a message
bool IsFinished { get; }
string DisplayState { get; }
}
}