home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Language specific support
Deutsches MediaPortal Forum
Plugins & Skins für das MediaPortal
Plugins & Erweiterungen
Plugin shutdown abfragen
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mbuzina" data-source="post: 765457" data-attributes="member: 12382"><p>Das ProcessPlugin Interface (IPlugin) hat die Methode Stop. Die wird aufgerufen, wenn dein Plugin beendet wird, welches normalerweise nur beim beenden von MP passiert. Also einfach folgendes implementieren</p><p>[CODE]</p><p>public class MyRS232 : IPlugin</p><p>{</p><p></p><p> public MyRS232()</p><p> {</p><p> // Do some init</p><p> }</p><p></p><p> public void Start()</p><p> {</p><p> InitRS232();</p><p> }</p><p></p><p> public void Stop()</p><p> {</p><p> SendRS232String("Hello World");</p><p> }</p><p>}[/CODE]</p></blockquote><p></p>
[QUOTE="mbuzina, post: 765457, member: 12382"] Das ProcessPlugin Interface (IPlugin) hat die Methode Stop. Die wird aufgerufen, wenn dein Plugin beendet wird, welches normalerweise nur beim beenden von MP passiert. Also einfach folgendes implementieren [CODE] public class MyRS232 : IPlugin { public MyRS232() { // Do some init } public void Start() { InitRS232(); } public void Stop() { SendRS232String("Hello World"); } }[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Language specific support
Deutsches MediaPortal Forum
Plugins & Skins für das MediaPortal
Plugins & Erweiterungen
Plugin shutdown abfragen
Contact us
RSS
Top
Bottom