diff options
| author | Simon Tatham <anakin@pobox.com> | 2013-03-31 09:58:52 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2013-03-31 09:58:52 +0000 |
| commit | bb14689b4a555b4b176192d2c3cd02a4c354a37f (patch) | |
| tree | 6377b0f21fc1c9ba18716f3e4bdb7c07500d018e /puzzles.h | |
| parent | bf696f83fc8076e748c04a53f425aa29d78c020d (diff) | |
| download | puzzles-bb14689b4a555b4b176192d2c3cd02a4c354a37f.zip puzzles-bb14689b4a555b4b176192d2c3cd02a4c354a37f.tar.gz puzzles-bb14689b4a555b4b176192d2c3cd02a4c354a37f.tar.bz2 puzzles-bb14689b4a555b4b176192d2c3cd02a4c354a37f.tar.xz | |
Introduce a mechanism by which calls to midend_supersede_game_desc()
can trigger a call to a front end notification function. Use this to
update the game ID permalink when Mines supersedes its game ID.
[originally from svn r9793]
Diffstat (limited to 'puzzles.h')
| -rw-r--r-- | puzzles.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -268,6 +268,8 @@ char *midend_deserialise(midend *me, void *rctx); char *identify_game(char **name, int (*read)(void *ctx, void *buf, int len), void *rctx); +void midend_request_desc_changes(midend *me, void (*notify)(void *), + void *ctx); /* Printing functions supplied by the mid-end */ char *midend_print_puzzle(midend *me, document *doc, int with_soln); int midend_tilesize(midend *me); |