summaryrefslogtreecommitdiff
path: root/src/lib/types.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-19 01:04:59 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-19 01:29:04 +0100
commit6c7489e5d778d3e71065d88a094a7383ba2c117d (patch)
treee3f05ad03095d88d297c7d61e03e265d28a97fa3 /src/lib/types.h
parent9a27d60ea7888d300a5a2414a477091428589b82 (diff)
Replace May/Done/NotDone signal sets with one signal and extend
this treatment to anything that caused Player::setup_pieces. This should fix out-of-sequence Player emissions caused by setup_pieces being called by one thread while the butler is calling pass().
Diffstat (limited to 'src/lib/types.h')
-rw-r--r--src/lib/types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/types.h b/src/lib/types.h
index 42e2e3eec..22d652b3f 100644
--- a/src/lib/types.h
+++ b/src/lib/types.h
@@ -129,6 +129,13 @@ enum ReelType
REELTYPE_BY_LENGTH
};
+enum ChangeType
+{
+ CHANGE_TYPE_PENDING,
+ CHANGE_TYPE_DONE,
+ CHANGE_TYPE_CANCELLED
+};
+
/** Type of captions.
*
* The generally accepted definitions seem to be: