Skip to content

Commit

Permalink
undo: rename to reques_undo/redo
Browse files Browse the repository at this point in the history
  • Loading branch information
abique committed Sep 19, 2024
1 parent b8c9e93 commit d01c0b2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions include/clap/ext/draft/undo.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,13 @@ typedef struct clap_host_undo {
// Note: this maybe a complex and asynchronous operation, which may complete after
// this function returns.
//
// Note: the host may ignore this request if there is no undo/redo step to perform,
// or if the host is unable to perform undo/redo at the time (eg: a long running
// change is going on).
//
// [main-thread]
void(CLAP_ABI *undo)(const clap_host_t *host);
void(CLAP_ABI *redo)(const clap_host_t *host);
void(CLAP_ABI *request_undo)(const clap_host_t *host);
void(CLAP_ABI *request_redo)(const clap_host_t *host);

// Subscribes to or unsubscribes from undo context info.
//
Expand Down

0 comments on commit d01c0b2

Please sign in to comment.