Normal
Hi,On request i created a (simple) interface for non-gui pluginsits located in guilib/iplugin.cs and has the following interface[code]namespace MediaPortal.GUI.Library{ public interface IPlugin { void Start(); void Stop(); }}[/code]When Mediaportal i starting it will look in the folder plugins/proces for dll's implementing this interface. When it finds them the plugin will be loaded and the Start() method will be calledWhen Mediaportal is stopping the Stop() method will be calledFurthermore the plugin can/may implement the ISetupForm interfaceto appear in the setup so users can enable/disable the pluginFrodo
Hi,
On request i created a (simple) interface for non-gui plugins
its located in guilib/iplugin.cs and has the following interface
[code]
namespace MediaPortal.GUI.Library
{
public interface IPlugin
void Start();
void Stop();
}
[/code]
When Mediaportal i starting it will look in the folder plugins/proces for dll's implementing this interface. When it finds them the plugin will be loaded and the Start() method will be called
When Mediaportal is stopping the Stop() method will be called
Furthermore the plugin can/may implement the ISetupForm interface
to appear in the setup so users can enable/disable the plugin
Frodo