Re: Panel plugin howto?
Bob Schlärmann <[email protected]>
| Newsgroups | gmane.comp.desktop.xfce.goodies.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 8 Jun 2005 17:35:00 +0200 Jasper Huijsmans <[email protected]> wrote: > On Mon, Jun 06, 2005 at 10:11:42PM +0200, Erik Ahlner wrote: > > Oh, another question.. is C a must, or can i develop in C++ aswell? > > > > C is a requirement. A plugin is a dynamically loaded library and > becomes part of the panel. This may change in the future. > Actually it is possible to use C++ in combination with the 'extern "C"' environment and some glue functions. I've succesfully coded a plugin in c++ which loads into the panel, although i got some linking errors when I use inheritance. Another thing i still have to find out is how to get autoconf to use the g++ compiler for my plugin, does anyone know something about how to do this? -- Bob