diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-10-26 18:37:53 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-10-26 18:37:53 +0100 |
| commit | 1764ca51847cff878acea4b0fa498288d61f3d17 (patch) | |
| tree | 2224f9a508a233b1676ac13870c821f8d052585f /vfs | |
| parent | 88131f070451c7ec4e4913da031436885377cdc5 (diff) | |
| download | tuxcmd-1764ca51847cff878acea4b0fa498288d61f3d17.tar.xz | |
Plugin interface: pass cancellation button id in ask_question callback
Diffstat (limited to 'vfs')
| -rw-r--r-- | vfs/uVFSprototypes.pas | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vfs/uVFSprototypes.pas b/vfs/uVFSprototypes.pas index 7cff78b..ba848e9 100644 --- a/vfs/uVFSprototypes.pas +++ b/vfs/uVFSprototypes.pas @@ -262,10 +262,12 @@ type // Return index of the choice selected or negative number when dialog has been cancelled + // cancel_choice: index which represents the cancellation choice. Set to -1 (e.g.) to disable this feature PVFSAskQuestionCallback = ^TVFSAskQuestionCallback; TVFSAskQuestionCallback = procedure (const AMessage: PChar; const Choices: PPChar; choice: PInteger; + cancel_choice: Integer; user_data: Pointer); cdecl; PVFSAskPasswordCallback = ^TVFSAskPasswordCallback; |
