-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathIQsoQueue.cs
27 lines (23 loc) · 928 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
27
/* 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 enum CallQsled { None, ImplyAll, IsMe };
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, CallQsled callQsled, short band,
bool autoStart, IsConversationMessage onUsed);
}
public interface IQsoSequencer
{
void OnReceiveCycleEnd(bool messagedThisCycle, bool onHold);
bool IsFinished { get; }
string DisplayState { get; }
}
}