File: PLUGINS

package info (click to toggle)
muine 0.8.7-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 4,436 kB
  • ctags: 3,081
  • sloc: cs: 12,764; sh: 8,895; ansic: 5,290; xml: 1,408; makefile: 493
file content (22 lines) | stat: -rw-r--r-- 879 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Using plugins
=============

Muine will look in MUINE_PLUGIN_PATH as well as ~/.gnome2/muine/plugins for
plugins, the ones that will be found will be automatically loaded. To have
plugins loaded system-wide, put them in LIBDIR/muine/plugins.

Writing plugins
===============

Muine exports the Plugin class and the SongInterface and PlayerInterface 
interfaces through MuinePluginLib, these have more or less the same
functionality as what is exported through D-Bus. Muine installs a pkg-config
file, so compiling your plugin will be something along the lines of:

mcs -target:library -out:Plugin.dll Plugin.cs -pkg:muine-plugin

An example plugin adding Dashboard support to Muine can be found in plugins/.

If you need more functionality being exported through PluginLib to be able
to write the plugin you want, please let me know and I'll, if feasible, add
the functionality.