aboutsummaryrefslogtreecommitdiff
path: root/puzzles.h
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2013-03-31 09:58:52 +0000
committerSimon Tatham <anakin@pobox.com>2013-03-31 09:58:52 +0000
commitbb14689b4a555b4b176192d2c3cd02a4c354a37f (patch)
tree6377b0f21fc1c9ba18716f3e4bdb7c07500d018e /puzzles.h
parentbf696f83fc8076e748c04a53f425aa29d78c020d (diff)
downloadpuzzles-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/puzzles.h b/puzzles.h
index fbd1828..3da1008 100644
--- a/puzzles.h
+++ b/puzzles.h
@@ -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);