1 // Scintilla source code edit control
2 /** @file Catalogue.h
3  ** Lexer infrastructure.
4  ** Contains a list of LexerModules which can be searched to find a module appropriate for a
5  ** particular language.
6  **/
7 // Copyright 1998-2010 by Neil Hodgson <neilh@scintilla.org>
8 // The License.txt file describes the conditions under which this software may be distributed.
9 
10 #ifndef CATALOGUE_H
11 #define CATALOGUE_H
12 
13 namespace Scintilla {
14 
15 class Catalogue {
16 public:
17 	static const LexerModule *Find(int language);
18 	static const LexerModule *Find(const char *languageName) noexcept;
19 	static void AddLexerModule(LexerModule *plm);
20 };
21 
22 }
23 
24 #endif
25