File: PLUGINS

package info (click to toggle)
muine 0.8.11-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,444 kB
  • ctags: 2,250
  • sloc: sh: 10,253; cs: 10,022; ansic: 1,994; xml: 1,408; makefile: 430
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.