1*29619d2aSchristos /* $NetBSD: footnotes.h,v 1.1.1.1 2016/01/14 00:11:29 christos Exp $ */ 2*29619d2aSchristos 3*29619d2aSchristos /* footnotes.h -- Some functions for manipulating footnotes. 4*29619d2aSchristos Id: footnotes.h,v 1.3 2004/04/11 17:56:45 karl Exp 5*29619d2aSchristos 6*29619d2aSchristos Copyright (C) 1993, 1997, 1998, 2002, 2004 Free Software Foundation, Inc. 7*29619d2aSchristos 8*29619d2aSchristos This program is free software; you can redistribute it and/or modify 9*29619d2aSchristos it under the terms of the GNU General Public License as published by 10*29619d2aSchristos the Free Software Foundation; either version 2, or (at your option) 11*29619d2aSchristos any later version. 12*29619d2aSchristos 13*29619d2aSchristos This program is distributed in the hope that it will be useful, 14*29619d2aSchristos but WITHOUT ANY WARRANTY; without even the implied warranty of 15*29619d2aSchristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16*29619d2aSchristos GNU General Public License for more details. 17*29619d2aSchristos 18*29619d2aSchristos You should have received a copy of the GNU General Public License 19*29619d2aSchristos along with this program; if not, write to the Free Software 20*29619d2aSchristos Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 21*29619d2aSchristos 22*29619d2aSchristos Written by Brian Fox (bfox@ai.mit.edu). */ 23*29619d2aSchristos 24*29619d2aSchristos #ifndef INFO_FOOTNOTES_H 25*29619d2aSchristos #define INFO_FOOTNOTES_H 26*29619d2aSchristos 27*29619d2aSchristos /* Magic string which indicates following text is footnotes. */ 28*29619d2aSchristos #define FOOTNOTE_LABEL N_("---------- Footnotes ----------") 29*29619d2aSchristos 30*29619d2aSchristos #define FN_FOUND 0 31*29619d2aSchristos #define FN_UNFOUND 1 32*29619d2aSchristos #define FN_UNABLE 2 33*29619d2aSchristos 34*29619d2aSchristos 35*29619d2aSchristos /* Create or delete the footnotes window depending on whether footnotes 36*29619d2aSchristos exist in WINDOW's node or not. Returns FN_FOUND if footnotes were found 37*29619d2aSchristos and displayed. Returns FN_UNFOUND if there were no footnotes found 38*29619d2aSchristos in WINDOW's node. Returns FN_UNABLE if there were footnotes, but the 39*29619d2aSchristos window to show them couldn't be made. */ 40*29619d2aSchristos extern int info_get_or_remove_footnotes (WINDOW *window); 41*29619d2aSchristos 42*29619d2aSchristos /* Non-zero means attempt to show footnotes when displaying a new window. */ 43*29619d2aSchristos extern int auto_footnotes_p; 44*29619d2aSchristos 45*29619d2aSchristos #endif /* not INFO_FOOTNOTES_H */ 46