grim/guifications1

close this branch since the hg conversion opened it again (this was the original branch name from my initial cvs import back in 2003)
/*
Guifications - The notification plugin to end all notification plugins!
Copyright (C) 2003 Gary Kramlich
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.
*/
#ifndef GUIFICATIONS_H
#define GUIFICATIONS_H
#include <glib.h>
#include <gdk/gdk.h>
#include "gaim.h"
#include "plugin.h"
#include "blist.h"
#define my_id "Gtk-amc_grim-Guifications"
#define my_name "Guifications"
#define my_version "1.5-Internal"
#define my_summary "The notification plugin to end all notification plugins!"
#define my_description "Guifications: The Pimpin' Penguin Notification Plugin thats good for the soul!"
#define my_authors "Gary Kramlich <amc_grim@users.sf.net>"
#define my_homepage "http://guifications.sourceforge.net"
/***********************************************************************
Enums
***********************************************************************/
typedef enum _gf_guification_event {
event_signon = 0,
event_signoff,
event_away,
event_back,
event_idle,
event_unidle
} gf_guification_event;
/**********************************************************************/
typedef enum _gf_gfpos {
gfpos_nw = 0,
gfpos_ne,
gfpos_sw,
gfpos_se
} gf_gfpos;
/**********************************************************************/
typedef enum _gf_tpos {
tpos_nw = 0,
tpos_n,
tpos_ne,
tpos_w,
tpos_c,
tpos_e,
tpos_sw,
tpos_s,
tpos_se
} gf_tpos;
/**********************************************************************/
typedef enum _gf_ipos {
ipos_none = 0,
ipos_nw,
ipos_n,
ipos_ne,
ipos_w,
ipos_c,
ipos_e,
ipos_sw,
ipos_s,
ipos_se
} gf_ipos;
/**********************************************************************/
typedef enum _gf_position {
pos_nw = 0,
pos_n,
pos_ne,
pos_w,
pos_c,
pos_e,
pos_sw,
pos_s,
pos_se
} gf_position;
/**********************************************************************/
typedef enum _gf_icon_size {
isize_tiny = 0,
isize_small,
isize_normal,
isize_large,
isize_huge
} gf_icon_size;
/**********************************************************************/
typedef enum _gf_clip {
clip_truncate = 0,
clip_elipse_start,
clip_elipse_middle,
clip_elipse_end
} gf_clip;
/**********************************************************************/
typedef enum _gf_mouse {
mouse_destroy = 0,
mouse_info,
mouse_conversation,
mouse_log,
mouse_context,
mouse_count
} gf_mouse;
/**********************************************************************/
typedef enum _gf_zoom {
zoom_200 = 0,
zoom_175,
zoom_150,
zoom_125,
zoom_100,
zoom_75,
zoom_50,
zoom_25
} gf_zoom;
/**********************************************************************/
typedef enum _gf_icon {
icon_protocol = 0,
icon_buddy,
icon_status
} gf_icon;
/***********************************************************************
Prototypes
***********************************************************************/
void gf_destroy_all();
GdkPixmap *make_guification(GaimBuddy *buddy, gf_guification_event event);
/**********************************************************************/
#endif