notepad-plus-plus-legacy/scintilla/src/Catalogue.h
2019-05-04 21:14:48 +03:00

25 lines
647 B
C++

// Scintilla source code edit control
/** @file Catalogue.h
** Lexer infrastructure.
** Contains a list of LexerModules which can be searched to find a module appropriate for a
** particular language.
**/
// Copyright 1998-2010 by Neil Hodgson <neilh@scintilla.org>
// The License.txt file describes the conditions under which this software may be distributed.
#ifndef CATALOGUE_H
#define CATALOGUE_H
namespace Scintilla {
class Catalogue {
public:
static const LexerModule *Find(int language);
static const LexerModule *Find(const char *languageName);
static void AddLexerModule(LexerModule *plm);
};
}
#endif