-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin_interface.cs
More file actions
28 lines (25 loc) · 842 Bytes
/
Copy pathplugin_interface.cs
File metadata and controls
28 lines (25 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace netCommander
{
public interface IPlugin
{
void Init();
event QueryHostInfoEventHandler QueryHostInfo;
string PluginName { get; }
string PluginDescription { get; }
string PluginAuthor { get; }
string PluginVersion { get; }
}
public delegate void QueryHostInfoEventHandler(object sender,QueryHostInfoEventArgs e);
public class QueryHostInfoEventArgs : EventArgs
{
public Form MainWindow { get; set; }
public MenuItem MainPluginMenuItem { get; set; }
public string[] SelectedEntries { get; set; }
public string DirectoryActive { get; set; }
public string DirectoryPassive { get; set; }
}
}