SVN_SILENT made messages (after extraction)
[kdepim.git] / templateparser / src / templatessyntaxhighlighterrules.h
blob49796e3efa949f9d0259651ac999bfdb7032886d
1 /*
2 Copyright (c) 2015 Montel Laurent <montel@kde.org>
4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License, version 2, as
6 published by the Free Software Foundation.
8 This program is distributed in the hope that it will be useful, but
9 WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 General Public License for more details.
13 You should have received a copy of the GNU General Public License along
14 with this program; if not, write to the Free Software Foundation, Inc.,
15 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 #ifndef TEMPLATESSYNTAXHIGHLIGHTERRULES_H
19 #define TEMPLATESSYNTAXHIGHLIGHTERRULES_H
21 #include <QVector>
22 namespace KPIMTextEdit
24 class Rule;
27 namespace TemplateParser
29 class TemplatesSyntaxHighlighterRules
31 public:
32 TemplatesSyntaxHighlighterRules();
33 QVector<KPIMTextEdit::Rule> rules() const;
35 private:
36 void init();
37 QVector<KPIMTextEdit::Rule> mRules;
41 #endif // TEMPLATESSYNTAXHIGHLIGHTERRULES_H