00001 /* 00002 * gui - [gega user interface] the flexible solution for user interface problems 00003 * Copyright (C) 2002 Gergely Gati 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; version 2 of the License. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; if not, write to the Free Software 00016 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00017 * 00018 * Gergely Gati 00019 * email: g.gati@freemail.hu 00020 * AIM screenname: GatiGergely 00021 * ICQ number: 93131690 00022 * 00023 */ 00024 #ifndef __TAG_H 00025 #define __TAG_H 00026 00027 #include "types.h" 00028 00029 typedef struct 00030 { 00031 u32 Name; 00032 u32 Data; 00033 } tag; 00034 00035 00036 #define TAG_END 0 00037 #define TAG_DONE 0 00038 #define TAG_MORE 1 00039 #define TAG_SKIP 2 00040 #define TAG_IGNORE 3 00041 #define TAG_USER 16 00042 00043 tag *tag_GetNextTag(tag *TagList); 00044 tag *tag_FindTag(tag *TagList, u32 TagName); 00045 u32 tag_GetTagData(tag *TagList, u32 TagName, u32 DefaultTagData); 00046 u32 tag_GetTagDataChg(tag *TagList, u32 TagName, u32 DefaultTagData); 00047 int tag_CountTags(tag *TagList); 00048 00049 #endif 00050
1.2.14 written by Dimitri van Heesch,
© 1997-2002