Mercurial > pidgin
annotate plugins/mono/api/GaimPlugin.cs @ 12024:e67993da8a22
[gaim-migrate @ 14317]
I strongly suspect CruiseControl is going to yell at me for this.
A voice chat API, GUI + mediastreamer. This is what I'm using for Google Talk.
This doesn't actually do anything at all. There's no code in the Jabber plugin yet
to use this API (although it Works For Me). All it will do is compile and link.
If you're lucky.
To build this, you should install oRTP from Linphone, Speex and iLBC (also
from linphone, I believe). To not build this, ./configure --disable-vv.
Most of the configure.ac and Makefile.am hackery was lifted right out of
Linphone with a few modifications. It seems to work if you have everything
installed or if you --disable-vv. I haven't really tested not having
everything installed and not --disabling-vv.
It's kinda funky to include all of mediastreamer in the source tree like this,
but linphone doesn't build it as a separate library. I'll probably wind up
writing them a patch to build it as a .so so we can link it dynamically instead.
This code certainly isn't finished. It'll adapt as I progress on the Google code,
but it's certainly of more use here in CVS than in my personal tree.
committer: Tailor Script <tailor@pidgin.im>
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Wed, 09 Nov 2005 08:07:20 +0000 |
| parents | a3302d271199 |
| children |
| rev | line source |
|---|---|
| 11660 | 1 namespace Gaim |
| 2 { | |
| 3 public class GaimPluginInfo | |
| 4 { | |
| 5 private string name; | |
| 6 private string version; | |
| 7 private string summary; | |
| 8 private string description; | |
| 9 private string author; | |
| 10 private string homepage; | |
| 11 | |
| 12 public GaimPluginInfo(string name, string version, string summary, string description, string author, string homepage) | |
| 13 { | |
| 14 this.name = name; | |
| 15 this.version = version; | |
| 16 this.summary = summary; | |
| 17 this.description = description; | |
| 18 this.author = author; | |
| 19 this.homepage = homepage; | |
| 20 } | |
| 21 | |
| 22 public string Name { get { return name; } } | |
| 23 public string Version { get { return version; } } | |
| 24 public string Summary { get { return summary; } } | |
| 25 public string Description { get { return description; } } | |
| 26 public string Author { get { return author; } } | |
| 27 public string Homepage { get { return homepage; } } | |
| 28 } | |
| 29 | |
| 30 abstract public class GaimPlugin | |
| 31 { | |
| 32 public abstract void Load(); | |
| 33 public abstract void Unload(); | |
| 34 public abstract void Destroy(); | |
| 35 | |
| 36 public abstract GaimPluginInfo Info(); | |
| 37 } | |
| 38 } |
