1*161f4cd1SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*161f4cd1SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*161f4cd1SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*161f4cd1SAndrew Rist  * distributed with this work for additional information
6*161f4cd1SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*161f4cd1SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*161f4cd1SAndrew Rist  * "License"); you may not use this file except in compliance
9*161f4cd1SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*161f4cd1SAndrew Rist  *
11*161f4cd1SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*161f4cd1SAndrew Rist  *
13*161f4cd1SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*161f4cd1SAndrew Rist  * software distributed under the License is distributed on an
15*161f4cd1SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*161f4cd1SAndrew Rist  * KIND, either express or implied.  See the License for the
17*161f4cd1SAndrew Rist  * specific language governing permissions and limitations
18*161f4cd1SAndrew Rist  * under the License.
19*161f4cd1SAndrew Rist  *
20*161f4cd1SAndrew Rist  *************************************************************/
21*161f4cd1SAndrew Rist 
22*161f4cd1SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #ifndef _EMBSERVCONST_H_
25cdf0e10cSrcweir #define _EMBSERVCONST_H_
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include <initguid.h>
28cdf0e10cSrcweir 
29cdf0e10cSrcweir #ifndef _COMPHELPER_CLASSIDS_HXX
30cdf0e10cSrcweir #include <comphelper/classids.hxx>
31cdf0e10cSrcweir #endif
32cdf0e10cSrcweir 
33cdf0e10cSrcweir #ifndef _SAL_TYPES_H_
34cdf0e10cSrcweir #include <sal/types.h>
35cdf0e10cSrcweir #endif
36cdf0e10cSrcweir 
37cdf0e10cSrcweir const sal_Int32 nConstBufferSize = 32000;
38cdf0e10cSrcweir 
39cdf0e10cSrcweir #define SUPPORTED_FACTORIES_NUM 10
40cdf0e10cSrcweir 
41cdf0e10cSrcweir #ifdef __MINGW32__
42cdf0e10cSrcweir #define DECLSPEC_SELECTANY
43cdf0e10cSrcweir #endif
44cdf0e10cSrcweir #if defined(__MINGW32__) && !defined(INITGUID)
45cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_WriterTextServer;
46cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_WriterOASISTextServer;
47cdf0e10cSrcweir 
48cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_CalcServer;
49cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_CalcOASISServer;
50cdf0e10cSrcweir 
51cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_DrawingServer;
52cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_DrawingOASISServer;
53cdf0e10cSrcweir 
54cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_PresentationServer;
55cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_PresentationOASISServer;
56cdf0e10cSrcweir 
57cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_MathServer;
58cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_MathOASISServer;
59cdf0e10cSrcweir #else
60cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_WriterTextServer = { SO3_SW_OLE_EMBED_CLASSID_60 };
61cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_WriterOASISTextServer = { SO3_SW_OLE_EMBED_CLASSID_8 };
62cdf0e10cSrcweir 
63cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_CalcServer = { SO3_SC_OLE_EMBED_CLASSID_60 };
64cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_CalcOASISServer = { SO3_SC_OLE_EMBED_CLASSID_8 };
65cdf0e10cSrcweir 
66cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_DrawingServer = { SO3_SDRAW_OLE_EMBED_CLASSID_60 };
67cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_DrawingOASISServer = { SO3_SDRAW_OLE_EMBED_CLASSID_8 };
68cdf0e10cSrcweir 
69cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_PresentationServer = { SO3_SIMPRESS_OLE_EMBED_CLASSID_60 };
70cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_PresentationOASISServer = { SO3_SIMPRESS_OLE_EMBED_CLASSID_8 };
71cdf0e10cSrcweir 
72cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_MathServer = { SO3_SM_OLE_EMBED_CLASSID_60 };
73cdf0e10cSrcweir EXTERN_C const GUID DECLSPEC_SELECTANY OID_MathOASISServer = { SO3_SM_OLE_EMBED_CLASSID_8 };
74cdf0e10cSrcweir #endif
75cdf0e10cSrcweir 
76cdf0e10cSrcweir #endif
77cdf0e10cSrcweir 
78