/Users/ericb/Desktop/SRC680_m247/starmath/inc/applicat.hxx

Go to the documentation of this file.
00001 /*************************************************************************
00002  *
00003  *  OpenOffice.org - a multi-platform office productivity suite
00004  *
00005  *  $RCSfile: applicat.hxx,v $
00006  *
00007  *  $Revision: 1.5 $
00008  *
00009  *  last change: $Author: ihi $ $Date: 2007/07/12 10:36:40 $
00010  *
00011  *  The Contents of this file are made available subject to
00012  *  the terms of GNU Lesser General Public License Version 2.1.
00013  *
00014  *
00015  *    GNU Lesser General Public License Version 2.1
00016  *    =============================================
00017  *    Copyright 2005 by Sun Microsystems, Inc.
00018  *    901 San Antonio Road, Palo Alto, CA 94303, USA
00019  *
00020  *    This library is free software; you can redistribute it and/or
00021  *    modify it under the terms of the GNU Lesser General Public
00022  *    License version 2.1, as published by the Free Software Foundation.
00023  *
00024  *    This library is distributed in the hope that it will be useful,
00025  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
00026  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00027  *    Lesser General Public License for more details.
00028  *
00029  *    You should have received a copy of the GNU Lesser General Public
00030  *    License along with this library; if not, write to the Free Software
00031  *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
00032  *    MA  02111-1307  USA
00033  *
00034  ************************************************************************/
00035 
00036 
00037 #ifndef APPLICAT_HXX
00038 #define APPLICAT_HXX
00039 
00040 class SvxErrorHandler;
00041 
00042 #ifndef _SFXAPP_HXX //autogen
00043 #include <sfx2/app.hxx>
00044 #endif
00045 
00046 /**************************************************************************/
00047 /*
00048 **
00049 **  MACRO DEFINITION
00050 **
00051 **/
00052 
00053 #define SMDLL   1
00054 
00055 #define APPLICATIONNAME      "smath3"
00056 
00057 /**************************************************************************/
00058 /*
00059 **
00060 **  CLASS DEFINITION
00061 **
00062 **/
00063 
00064 #ifdef WIN
00065 #define RELEASE     "WIN304"
00066 #endif
00067 
00068 #ifdef PM2
00069 #define RELEASE     "PM304"
00070 #endif
00071 
00072 #ifdef WNT
00073 #define RELEASE     "WNT304"
00074 #endif
00075 
00076 #ifdef UNX
00077 #define RELEASE     "UNX304"
00078 #endif
00079 
00080 #ifndef SMDLL
00081 class SmResId : public ResId
00082 {
00083 public:
00084         SmResId(USHORT nId) :
00085                 ResId(nId)
00086         {
00087         }
00088 
00089 };
00090 
00091 #endif
00092 
00093 #ifndef _DLL_
00094 class SmDLL;
00095 
00096 class SmApplicat: public SfxApplication
00097 {
00098 protected:
00099         SvxErrorHandler     *pSvxErrorHandler;
00100 
00101         virtual void            OpenClients();
00102 
00103         // initialization / deinitialization
00104         virtual void            Init();
00105         virtual void        Exit();
00106 
00107 public:
00108         void Main();
00109 
00110         SmApplicat() :
00111                 SfxApplication("iso")
00112         {
00113         }
00114 
00115 };
00116 
00117 #endif
00118 #endif
00119 

Generated on Wed Feb 20 17:21:56 2008 for maths by  doxygen 1.5.1