Trac is being migrated to new services! Issues can be found in our new YouTrack instance and WIKI pages can be found on our website.

Changes between Version 1 and Version 2 of WhatIsLibpurple


Ignore:
Timestamp:
Feb 8, 2007, 7:03:52 AM (17 years ago)
Author:
MarkDoliner
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WhatIsLibpurple

    v1 v2  
    1 libpurple is intended to be the core of an IM program.  When using libpurple,
    2 you'll basically be writing a UI for this core chunk of code.  So Gaim is
    3 really just a GTK+ frontend to libpurple, Gaim-text is an ncurses frontend, and
    4 Adium is a Cocoa frontend.
     1= What is libpurple? =
    52
    6 Your program provides the int main() function.  Your main function will call
    7 libpurple_core_init(), which initializes libpurple.  Your main function will also
    8 register a whole bunch of "callback" functions that are called by libpurple any
    9 time there is something to tell the user.  For example, when libpurple receives
    10 an IM it'll call your function for handling an incoming IM.  When one of your
    11 buddies signs online libpurple will call your function to update the buddylist.
     3libpurple is intended to be the core of an IM program.  When using libpurple, you'll basically be writing a UI for this core chunk of code.  Pidgin is a GTK+ frontend to libpurple, Gaim-text is an ncurses frontend, and Adium is a Cocoa frontend.
    124
    13 If your user fetches someones info then you'll call a libpurple function that
    14 sends the appropriate message across the network.  Then libpurple will get a
    15 response and call your function for handling buddy info.
     5Your program provides the int main() function.  Your main function will call libpurple_core_init(), which initializes libpurple.  Your main function will also register a whole bunch of "callback" functions that are called by libpurple any time there is something to tell the user.  For example, when libpurple receives an IM it'll call your function for handling an incoming IM.  When one of your buddies signs online libpurple will call your function to update the buddylist.
     6
     7If your user fetches someones info then you'll call a libpurple function that sends the appropriate message across the network.  Then libpurple will get a response and call your function for handling buddy info.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!