1 /* AbiWord 2 * Copyright (C) 1998-2000 AbiSource, Inc. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 17 * 02110-1301 USA. 18 */ 19 20 21 #ifndef AP_TOOLBAR_IDSET_H 22 #define AP_TOOLBAR_IDSET_H 23 24 #include "xap_Types.h" 25 26 /********************************************************************/ 27 /********************************************************************/ 28 /** This file defines the set of Id's used for all toolbar-related **/ 29 /** things. Each Id defines a conceptual unit which may be **/ 30 /** used on one or more toolbars or not at all. **/ 31 /********************************************************************/ 32 /********************************************************************/ 33 34 /* the following Id's must start at zero and be contiguous */ 35 36 #define toolbaritem(id) AP_TOOLBAR_ID_##id, 37 38 enum _Ap_Toolbar_Id 39 { 40 AP_TOOLBAR_ID__BOGUS1__ = 0, /* must be first */ 41 #include "ap_Toolbar_Id_List.h" 42 AP_TOOLBAR_ID__BOGUS2__ /* must be last */ 43 }; 44 45 #undef toolbaritem 46 47 #endif /* AP_TOOLBAR_IDSET_H */ 48