mirror of
https://gitea.com/Lerking/XtendR.git
synced 2026-01-10 18:47:12 +01:00
18 lines
407 B
Python
18 lines
407 B
Python
from xtendr.xtendrbase import XtendRBase
|
|
|
|
class ExamplePlugin(XtendRBase):
|
|
"""Example plugin implementation.
|
|
|
|
Example:
|
|
>>> plugin = ExamplePlugin()
|
|
>>> plugin.run()
|
|
ExamplePlugin is running!
|
|
>>> plugin.stop()
|
|
ExamplePlugin has stopped!
|
|
"""
|
|
def run(self):
|
|
print("ExamplePlugin is running!")
|
|
|
|
def stop(self):
|
|
print("ExamplePlugin has stopped!")
|