Main Page | Alphabetical List | Data Structures | Directories | File List | Globals

event_dispatcher.h File Reference

Event Dispatcher. More...

#include <gtk/gtk.h>

Go to the source code of this file.

Functions

int dispatch_event (gint event)
 Dispatches an event by event number (not used).
int dispatch_event_string (gchar *event)
 Dispatches a null terminated string as an event.


Detailed Description

Event Dispatcher.

Copyright (C) 2005, Ike Gingerich <ike_@users.sourceforge.net>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA


Function Documentation

int dispatch_event gint  event  ) 
 

Dispatches an event by event number (not used).

Parameters:
event The event code to be dispatched.
Returns:
Returns 1 on success and 0 otherwise.

int dispatch_event_string gchar *  event  ) 
 

Dispatches a null terminated string as an event.

Events must end in a newline character or they will be prefixed onto the previous event. Events are automatically timestamped.

Parameters:
event The event string, must be null-teriminated and end with a '
' character.
Returns:
Returns 1 on success and 0 otherwise.


Generated on Fri Jul 29 23:03:42 2005 for gaim-interface by  doxygen 1.4.2