/* * MainLayer.h -- definitions * Copyright (C) 2005 ActiveState Software Inc. All rights reserved. */ #ifndef __scineplex__main_layer_h__ #define __scineplex__main_layer_h__ #include "Common.h" #define CLASSIC_SCINEPLEX 0 #define LINE_MAPPER_SCINEPLEX 1 #define SINGLE_BUFFER_SCINEPLEX 2 #define ASCII_LINE_MAPPER_SCINEPLEX 3 #define ASCII_SINGLE_BUFFER_SCINEPLEX 4 #define HTML_SCINEPLEX 5 #define JSON_POS_GENERIC_SCINEPLEX 6 #define SCE_ANY_DEFAULT 0 #ifdef __cplusplus extern "C" { #endif bool doScineplex(const char *bufstr, int lang, bool utf8_source, bool verbose, print_callback_fn_t cb_linePrint, void *cb_linePrint_data, int outputFormat, int parsingStartState, int DumpSource, int DumpEndState, bool DumpFoldLevels, int StopAfterDataSectionLine1, bool MaintainLineStructure, char *p_subLanguage, char **pp_Explanation); #ifdef __cplusplus } #endif #endif // __scineplex__main_layer_h__