/* GKrellM giFT plugin * Copyright (C) 2002, 2003 Tilman Sauerbeck * * This program is free software; you can redistribute it and/or modify * it under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * 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 __EVENT_IDS_H #define __EVENT_IDS_H typedef enum { DIR_DOWN, DIR_UP, DIR_NUM } TransferDirection; typedef struct { gint num; TransferDirection dir; } EventID; EventID *gift_event_id_add (gint, TransferDirection); EventID *gift_event_id_lookup (gint); void gift_event_id_remove (EventID *); void gift_event_id_destroy (); #endif