/*****************************************************************************
 * pmwindow.h
 *
 * 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.
 *
 * Copyright (C) 2003-2005, Erica Andrews
 * (Phrozensmoke ['at'] yahoo.com)
 * http://phpaint.sourceforge.net/pyvoicechat/
 * 
 * Copyright (C) 2000-2002 Chris Pinkham
 * cpinkham@corp.infi.net, cpinkham@bc2va.org
 * http://www4.infi.net/~cpinkham/gyach/
 * 
 * Released under the terms of the GPL.
 * *NO WARRANTY*
 *
 * cpinkham@infi.net, cpinkham@bc2va.org
 * http://www4.infi.net/~cpinkham/gyach/
 *****************************************************************************/


#ifndef _PMWINDOW_H_
#define _PMWINDOW_H_

/* generic routines used in session initialization */
extern PM_SESSION *new_pm_session(char *forwho);
GtkWidget *create_pm_session (char *forwho);
GtkWidget *blank_pm_window (GtkWidget *parent, char *some_sn);  /* added: PhrozenSmoke */
GtkWidget *get_pm_icon(int which_icon, char *err_str);

int pm_capture_to_file( char *filename, GtkTextBuffer *mybuffer, GtkTextView *widget, GtkWidget  *mywindow );
void pm_start_logging(char *myfile, GtkButton *button);
char *pm_make_user_filename(char *who);

#endif /* #ifndef _PMWINDOW_H_ */
