api_idx.tcl

Go to the documentation of this file.
00001 /*  -*- tcl -*-*/
00002 /*  api_idx.tcl -- API placeholders*/
00003 /* */
00004 /*  Copyright (c) 2003 Andreas Kupries <andreas_kupries@sourceforge.net>*/
00005 
00006 /* */
00007 /*  This file defines all commands expected from a docidx formatter by the*/
00008 /*  doctools library. It is loaded into the formatter interpreter before*/
00009 /*  the code for a particular docidx format is loaded. All commands defined*/
00010 /*  here return an error. This ensures the generation of errors if a*/
00011 /*  format forgets to define commands in the API.*/
00012 
00013 /* */
00014 /*  Here it comes*/
00015 
00016 foreach __cmd {
00017     idx_initialize idx_shutdown idx_up =  idx_numpasses
00018     idx_listvariables idx_var
00019     fmt = _index_begin fmt_index_end fmt_key fmt_manpage fmt_url
00020     fmt_comment fmt_plain_text
00021 } {
00022     ret  $__cmd (type args) [list return  "return -code error \"Unimplemented API command $__cmd\""]
00023 }
00024 unset __cmd
00025 
00026 ################################################################
00027 

Generated on 21 Sep 2010 for Gui by  doxygen 1.6.1