• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

AiksaurusApp.h

Go to the documentation of this file.
00001 /*
00002  * AiksaurusApp - A Win32 interface to the AikSaurus library
00003  * Copyright (C) 2001 by Jared Davis, Michael D. Pritchett
00004  *
00005  * This program is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU General Public License
00007  * as published by the Free Software Foundation; either version 2
00008  * of the License, or (at your option) any later version.
00009  *
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00018  * 02110-1301 USA.
00019  */
00020 
00021 #ifndef AIKAPP
00022 #define AIKAPP
00023 
00024 #ifdef _MSC_VER
00025 #pragma warning(disable: 4786)
00026 #endif
00027 
00028 #include <windows.h>
00029 #include <string>
00030 using namespace std;
00031 
00032 class AiksaurusApp
00033 {
00034 public:
00035     AiksaurusApp();
00036     virtual ~AiksaurusApp();
00037 
00038     void setTitle( char * title );
00039     void setInitialMessage( char * msg );
00040     const char* runThesaurus( char * word );
00041 
00042     void initialize();
00043     HINSTANCE getInstance() { return m_hInstance; }
00044     void setInstance(HINSTANCE hI) { m_hInstance = hI; }
00045     void setLookup( char * word );
00046 
00047 private:
00048     HINSTANCE m_hInstance;
00049     string lookup;
00050     string replace;
00051 };
00052 
00053 #endif

Generated on Sun Feb 14 2021 for AbiWord by  doxygen 1.7.1