update dev300-m58
[ooovba.git] / starmath / inc / applicat.hxx
blobbef74d8ddce6520553e577daad3aa2f56d7f502f
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: applicat.hxx,v $
10 * $Revision: 1.6 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
32 #ifndef APPLICAT_HXX
33 #define APPLICAT_HXX
35 class SvxErrorHandler;
37 #include <sfx2/app.hxx>
39 /**************************************************************************/
42 ** MACRO DEFINITION
44 **/
46 #define SMDLL 1
48 #define APPLICATIONNAME "smath3"
50 /**************************************************************************/
53 ** CLASS DEFINITION
55 **/
57 #ifdef WIN
58 #define RELEASE "WIN304"
59 #endif
61 #ifdef PM2
62 #define RELEASE "PM304"
63 #endif
65 #ifdef WNT
66 #define RELEASE "WNT304"
67 #endif
69 #ifdef UNX
70 #define RELEASE "UNX304"
71 #endif
73 #ifndef SMDLL
74 class SmResId : public ResId
76 public:
77 SmResId(USHORT nId) :
78 ResId(nId)
84 #endif
86 #ifndef _DLL_
87 class SmDLL;
89 class SmApplicat: public SfxApplication
91 protected:
92 SvxErrorHandler *pSvxErrorHandler;
94 virtual void OpenClients();
96 // initialization / deinitialization
97 virtual void Init();
98 virtual void Exit();
100 public:
101 void Main();
103 SmApplicat() :
104 SfxApplication("iso")
110 #endif
111 #endif