nyctergatis.com

Contact

Projects
Sysquake Remote Live
NME
PDF
Hike
Sudoku
GifBuilder
jpeglib for Palm OS
MySQL Client
Cross-GCC for Mac OS
NMEPluginTOC.h
Go to the documentation of this file.
00001 
00008 /* License: new BSD license (see NME.h) */
00009 
00010 #ifndef __NMEPluginTOC__
00011 #define __NMEPluginTOC__
00012 
00013 #ifdef __cplusplus
00014 extern "C" {
00015 #endif
00016 
00017 #include "NME.h"
00018 
00022 typedef struct
00023 {
00024     NMEOutputFormat *outputFormat;  
00025     NMEInt level1;  
00026     NMEInt level2;  
00027     NMEBoolean links;   
00028 } HookTOCData;
00029 
00034 void NMESetTOCOutputFormat(NMEOutputFormat *f, HookTOCData *d);
00035 
00038 typedef struct
00039 {
00040     NMEConstText src;   
00041     NMEInt srcLen;  
00042 } NMEPluginTocData;
00043 
00065 NMEErr NMEPluginTOC(NMEConstText name, NMEInt nameLen,
00066         NMEConstText data, NMEInt dataLen,
00067         NMEContext *context,
00068         void *userData);
00069 
00071 #define NMEPluginTOCEntry(data) \
00072     {"toc", kNMEPluginOptBetweenPar, NMEPluginTOC, (void *)data}
00073 
00074 #ifdef __cplusplus
00075 }
00076 #endif
00077 
00078 #endif
Generated by Doxygen.
Copyright 2007-2013, Yves Piguet.
All rights reserved.