mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
* Enable Run as Admin Arguments * Use a seperate function for both methods which were generating ProcessStartInfo fixes missing LnkResolvedPath missing in contextmenu (E.g. Shortcuts / PWA's). * Update tests * Move ProgramArguments to Result class Co-authored-by: Roy <royvou@hotmailcom>
27 lines
681 B
C#
27 lines
681 B
C#
// Copyright (c) Microsoft Corporation
|
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
|
// See the LICENSE file in the project root for more information.
|
|
|
|
using System.Collections.Generic;
|
|
using Wox.Plugin;
|
|
|
|
namespace Microsoft.Plugin.Program.Programs
|
|
{
|
|
public interface IProgram
|
|
{
|
|
List<ContextMenuResult> ContextMenus(string queryArguments, IPublicAPI api);
|
|
|
|
Result Result(string query, string queryArguments, IPublicAPI api);
|
|
|
|
string UniqueIdentifier { get; set; }
|
|
|
|
string Name { get; }
|
|
|
|
string Description { get; set; }
|
|
|
|
string Location { get; }
|
|
|
|
bool Enabled { get; set; }
|
|
}
|
|
}
|