Add icon for Repo Browser -> Alternative Editor
[TortoiseGit.git] / ext / hunspell / filemgr.hxx
blob94cb7233d85f3e48f369cede8420410dfcd0d94e
1 /* file manager class - read lines of files [filename] OR [filename.hz] */
2 #ifndef _FILEMGR_HXX_
3 #define _FILEMGR_HXX_
5 #include "hunvisapi.h"
7 #include "hunzip.hxx"
8 #include <stdio.h>
10 class LIBHUNSPELL_DLL_EXPORTED FileMgr
12 protected:
13 FILE * fin;
14 Hunzip * hin;
15 char in[BUFSIZE + 50]; // input buffer
16 int fail(const char * err, const char * par);
17 int linenum;
19 public:
20 FileMgr(const char * filename, const char * key = NULL);
21 ~FileMgr();
22 char * getline();
23 int getlinenum();
25 #endif