libpurple for FB (Pidgin engine)

Headers, Bindings, Libraries for use with FreeBASIC, Please include example of use to help ensure they are tested and usable.
Post Reply
TJF
Posts: 3809
Joined: Dec 06, 2009 22:27
Location: N47°, E15°
Contact:

libpurple for FB (Pidgin engine)

Post by TJF »

Image
libpurple (former libgaim) is a C-library developed together with the program Pidgin. While Pidgin provides the GUI, libpurple is the engine to handle different instant message services on the internet. Both, Pidgin and libpurple are published under the GPL and are free to use under win32 and LINUX (and MaxOSX).

The multi-protocol-client-engine libpurple provides different instant-messenger-services in one program. The different service protocols are implemented as plugins. All (at least partial implemented) protocols are listed here: http://pidgin.im/

libpurple can handle
  • text messages,
  • file transfer,
  • audio connection,
  • video connection
The protocols are implemented by plugins and plugins can provide additional features as well, ie user interactions. So libpurple can be extended by plugins at will.

Former plugins are written in C, C#, Perl, Python and Tcl. Now a new set of headers is available for FreeBasic to compile your plugin in your favorite language.

Use the option '-dylib' to generate a *.so file (*.dll on win32) and copy this file in to the plugin path of Pidgin (on Debian it's "~/.purple/plugins" for local installation and "./usr/lib/purple-2" for global installation). Then start Pidgin, search the plugin (menu: tools->plugins) and activate it.

For details on the libpurple API see the original documentation. Find an example here (de).

Download:
caseih
Posts: 2199
Joined: Feb 26, 2007 5:32

Re: libpurple for FB (Pidgin engine)

Post by caseih »

Did you make this binding with h_2_bi? If so, is the .h2bi file anywhere I can look at. Trying to learn the tool.
caseih
Posts: 2199
Joined: Feb 26, 2007 5:32

Re: libpurple for FB (Pidgin engine)

Post by caseih »

Nevermind I found your example files for your converted libraries. Thanks.
Post Reply