mirror of https://gitlab.com/basile.b/dexed.git
redesigned the ICEEditableShortcut interface
This commit is contained in:
parent
5591907a03
commit
764bdb27a3
|
|
@ -122,14 +122,13 @@ type
|
||||||
*)
|
*)
|
||||||
ICEEditableShortCut = interface
|
ICEEditableShortCut = interface
|
||||||
['ICEEditableShortCut']
|
['ICEEditableShortCut']
|
||||||
// a TCEEditableShortCutSubject queries the editable shortcuts count.
|
// a TCEEditableShortCutSubject will start to collect shortcuts if result
|
||||||
procedure scGetCount(out aValue: Integer);
|
function scedWantFirst: boolean;
|
||||||
// a TCEEditableShortCutSubject queries the shortcut category name.
|
// a TCEEditableShortCutSubject collects the information on the shortcuts while result
|
||||||
procedure scGetCategory(out aValue: string);
|
function scedWantNext(out category, identifier: string; out aShortcut: TShortcut): boolean;
|
||||||
// a TCEEditableShortCutSubject queries the state of the index-th shortcut.
|
// a TCEEditableShortCutSubject sends the possibly modified shortcut
|
||||||
procedure scGetItem(index: Integer; out aName: string; out aShortcut: Word);
|
procedure scedSendItem(const category, identifier: string; aShortcut: TShortcut);
|
||||||
// a TCEEditableShortCutSubject sends the possibly modified assignation of the index-th shortcut.
|
|
||||||
procedure scSetItem(index: Integer; const aCategory, aName: string; aShortcut: Word);
|
|
||||||
end;
|
end;
|
||||||
(**
|
(**
|
||||||
* An implementer manages its observers shortcuts.
|
* An implementer manages its observers shortcuts.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue