Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: third_party/hunspell/src/parsers/odfparser.hxx

Issue 2544793003: [spellcheck] Updated Hunspell to 1.5.4 (Closed)
Patch Set: Test Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/hunspell/src/parsers/manparser.cxx ('k') | third_party/hunspell/src/parsers/odfparser.cxx » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/hunspell/src/parsers/odfparser.hxx
diff --git a/third_party/hunspell/src/hunspell/license.hunspell b/third_party/hunspell/src/parsers/odfparser.hxx
similarity index 67%
copy from third_party/hunspell/src/hunspell/license.hunspell
copy to third_party/hunspell/src/parsers/odfparser.hxx
index 89c1ec7ae04f119947477e351e0aeda9bb297002..c8d40c7be96d16ecc937208c6dc72c89e24adec6 100644
--- a/third_party/hunspell/src/hunspell/license.hunspell
+++ b/third_party/hunspell/src/parsers/odfparser.hxx
@@ -1,3 +1,9 @@
+/*
+ * ODF parser class for MySpell
+ *
+ * Copyright (C) 2014, Laszlo Nemeth
+ *
+ */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
@@ -14,33 +20,15 @@
* The Original Code is Hunspell, based on MySpell.
*
* The Initial Developers of the Original Code are
- * Kevin Hendricks (MySpell) and Laszlo Nemeth (Hunspell).
+ * Kevin Hendricks (MySpell) and Németh László (Hunspell).
* Portions created by the Initial Developers are Copyright (C) 2002-2005
* the Initial Developers. All Rights Reserved.
*
- * Contributor(s):
- * David Einstein
- * Davide Prina
- * Giuseppe Modugno
- * Gianluca Turconi
- * Simon Brouwer
- * Noll Janos
- * Biro Arpad
- * Goldman Eleonora
- * Sarlos Tamas
- * Bencsath Boldizsar
- * Halacsy Peter
- * Dvornik Laszlo
- * Gefferth Andras
- * Nagy Viktor
- * Varga Daniel
- * Chris Halls
- * Rene Engelhard
- * Bram Moolenaar
- * Dafydd Jones
- * Harri Pitkanen
- * Andras Timar
- * Tor Lillqvist
+ * Contributor(s): David Einstein, Davide Prina, Giuseppe Modugno,
+ * Gianluca Turconi, Simon Brouwer, Noll János, Bíró Árpád,
+ * Goldman Eleonóra, Sarlós Tamás, Bencsáth Boldizsár, Halácsy Péter,
+ * Dvornik László, Gefferth András, Nagy Viktor, Varga Dániel, Chris Halls,
+ * Rene Engelhard, Bram Moolenaar, Dafydd Jones, Harri Pitkänen
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
@@ -56,6 +44,22 @@
*
* ***** END LICENSE BLOCK ***** */
-#ifndef HUNSPELL_CHROME_CLIENT
-#include "config.h"
+#ifndef ODFPARSER_HXX_
+#define ODFPARSER_HXX_
+
+#include "xmlparser.hxx"
+
+/*
+ * HTML Parser
+ *
+ */
+
+class ODFParser : public XMLParser {
+ public:
+ explicit ODFParser(const char* wc);
+ ODFParser(const w_char* wordchars, int len);
+ virtual bool next_token(std::string&);
+ virtual ~ODFParser();
+};
+
#endif
« no previous file with comments | « third_party/hunspell/src/parsers/manparser.cxx ('k') | third_party/hunspell/src/parsers/odfparser.cxx » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698