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

Unified Diff: third_party/hunspell_new/src/hunspell/filemgr.hxx

Issue 1135173004: Rename third_party/hunspell_new back to third_party/hunspell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months 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
Index: third_party/hunspell_new/src/hunspell/filemgr.hxx
diff --git a/third_party/hunspell_new/src/hunspell/filemgr.hxx b/third_party/hunspell_new/src/hunspell/filemgr.hxx
deleted file mode 100644
index f92f09d8d01b715bec90cd87489271161f1829b2..0000000000000000000000000000000000000000
--- a/third_party/hunspell_new/src/hunspell/filemgr.hxx
+++ /dev/null
@@ -1,50 +0,0 @@
-/* file manager class - read lines of files [filename] OR [filename.hz] */
-#ifndef _FILEMGR_HXX_
-#define _FILEMGR_HXX_
-
-#include "hunvisapi.h"
-
-#include "hunzip.hxx"
-#include <stdio.h>
-
-#ifdef HUNSPELL_CHROME_CLIENT
-namespace hunspell {
-class LineIterator;
-} // namespace hunspell
-
-// A class which encapsulates operations of reading a BDICT file.
-// Chrome uses a BDICT file to compress hunspell dictionaries. A BDICT file is
-// a binary file converted from a DIC file and an AFF file. (See
-// "bdict_reader.h" for its format.)
-// This class encapsulates the operations of reading a BDICT file and emulates
-// the original FileMgr operations for AffixMgr so that it can read a BDICT
-// file without so many changes.
-class FileMgr {
- public:
- FileMgr(hunspell::LineIterator* iterator);
- ~FileMgr();
- char* getline();
- int getlinenum();
-
- protected:
- hunspell::LineIterator* iterator_;
- char line_[BUFSIZE + 50]; // input buffer
-};
-#else
-class LIBHUNSPELL_DLL_EXPORTED FileMgr
-{
-protected:
- FILE * fin;
- Hunzip * hin;
- char in[BUFSIZE + 50]; // input buffer
- int fail(const char * err, const char * par);
- int linenum;
-
-public:
- FileMgr(const char * filename, const char * key = NULL);
- ~FileMgr();
- char * getline();
- int getlinenum();
-};
-#endif
-#endif
« no previous file with comments | « third_party/hunspell_new/src/hunspell/dictmgr.cxx ('k') | third_party/hunspell_new/src/hunspell/filemgr.cxx » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698