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

command_log.h File Reference

Command Logger. More...

#include <gtk/gtk.h>

Go to the source code of this file.

Functions

void init_command_log (void)
 Prepares the command log for access.
void command_log_add (gchar *cmd)
 Adds the supplied string to the end of the command log.
gchar * command_log_get_previous (void)
 Cycles the internally maintained current command back one entry and returns it.
gchar * command_log_get_next (void)
 Cycles the internally maintained current command forward one entry and returns it.


Detailed Description

Command Logger.

gaim-interface

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

void command_log_add gchar *  cmd  ) 
 

Adds the supplied string to the end of the command log.

Parameters:
cmd The null terminated string to add to the log.

gchar* command_log_get_next void   ) 
 

Cycles the internally maintained current command forward one entry and returns it.

Returns:
The string from the log.

gchar* command_log_get_previous void   ) 
 

Cycles the internally maintained current command back one entry and returns it.

Returns:
The string from the log.


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