00001 /* 00002 * gaim 00003 * 00004 * Gaim is the legal property of its developers, whose names are too numerous 00005 * to list here. Please refer to the COPYRIGHT file distributed with this 00006 * source distribution. 00007 * 00008 * This program is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software 00020 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00021 * 00022 */ 00023 00024 #ifndef _MULTI_H_ 00025 #define _MULTI_H_ 00026 00027 #include "account.h" 00028 #include "plugin.h" 00029 00030 struct proto_actions_menu { 00031 char *label; 00032 void (*callback)(GaimConnection *); 00033 GaimConnection *gc; 00034 }; 00035 00036 struct proto_buddy_menu { 00037 char *label; 00038 void (*callback)(GaimConnection *, const char *); 00039 GaimConnection *gc; 00040 }; 00041 00042 struct proto_chat_menu { 00043 char *label; 00044 void (*callback)(GaimConnection *, GHashTable *); 00045 GaimConnection *gc; 00046 }; 00047 00048 struct proto_chat_entry { 00049 char *label; 00050 char *identifier; 00051 char *def; 00052 gboolean is_int; 00053 int min; 00054 int max; 00055 gboolean secret; 00056 }; 00057 00058 #endif /* _MULTI_H_ */ 00059 00060 /* A big line. */ 00061 /* -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */