@@ -54,8 +54,6 @@ TNotifier = class(TInterfacedObject, INotifier, ISetActions)
5454 // / <summary>Action that causes a user defined snippet to be
5555 // / edited.</summary>
5656 fEditSnippetAction: TBasicAction;
57- // / <summary>Action that displays donate dialogue box.</summary>
58- fDonateAction: TBasicAction;
5957 // / <summary>Action that causes a category to be displayed.</summary>
6058 fDisplayCategoryAction: TBasicAction;
6159 // / <summary>Action that causes the Snippets Editor to be opened ready to
@@ -129,10 +127,6 @@ TNotifier = class(TInterfacedObject, INotifier, ISetActions)
129127 // / </remarks>
130128 procedure EditSnippet (const SnippetName: WideString);
131129
132- // / <summary>Displays Donate dialogue box.</summary>
133- // / <remarks>Methods of INotifier.</remarks>
134- procedure Donate ;
135-
136130 // / <summary>Opens Snippets Editor ready to create a new snippet.</summary>
137131 // / <remarks>Methods of INotifier.</remarks>
138132 procedure NewSnippet ;
@@ -201,11 +195,6 @@ TNotifier = class(TInterfacedObject, INotifier, ISetActions)
201195 // / <remarks>Methods of ISetActions.</remarks>
202196 procedure SetEditSnippetAction (const Action: TBasicAction);
203197
204- // / <summary>Sets action used to display Donate dialogue box.</summary>
205- // / <param name="Action">TBasicAction [in] Required action.</param>
206- // / <remarks>Methods of ISetActions.</remarks>
207- procedure SetDonateAction (const Action: TBasicAction);
208-
209198 // / <summary>Sets action used to display a category.</summary>
210199 // / <param name="Action">TBasicAction [in] Required action.</param>
211200 // / <remarks>Methods of ISetActions.</remarks>
@@ -305,12 +294,6 @@ procedure TNotifier.DisplaySnippet(const SnippetName: WideString;
305294 end ;
306295end ;
307296
308- procedure TNotifier.Donate ;
309- begin
310- if Assigned(fDonateAction) then
311- fDonateAction.Execute;
312- end ;
313-
314297procedure TNotifier.EditSnippet (const SnippetName: WideString);
315298begin
316299 if Assigned(fEditSnippetAction) then
@@ -369,11 +352,6 @@ procedure TNotifier.SetDisplaySnippetAction(
369352 (fDisplaySnippetAction as ISetNotifier).SetNotifier(Self);
370353end ;
371354
372- procedure TNotifier.SetDonateAction (const Action: TBasicAction);
373- begin
374- fDonateAction := Action;
375- end ;
376-
377355procedure TNotifier.SetEditSnippetAction (const Action: TBasicAction);
378356begin
379357 Assert(Action is TEditSnippetAction,
0 commit comments