xref: /AOO41X/main/rsc/source/res/rscall.cxx (revision 477794c15c6b4ddeee1d73cab1de4160cfe6efef)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 // MARKER(update_precomp.py): autogen include statement, do not remove
25 #include "precompiled_rsc.hxx"
26 /****************** I N C L U D E S **************************************/
27 
28 // C and C++ Includes.
29 #include <stdlib.h>
30 #include <stdio.h>
31 
32 // Programmabhaengige Includes.
33 #include <rscall.h>
34 #include <rsckey.hxx>
35 
36 Atom    nRsc_XYMAPMODEId = InvalidAtom;
37 Atom    nRsc_WHMAPMODEId = InvalidAtom;
38 Atom    nRsc_X = InvalidAtom;
39 Atom    nRsc_Y = InvalidAtom;
40 Atom    nRsc_WIDTH = InvalidAtom;
41 Atom    nRsc_HEIGHT = InvalidAtom;
42 Atom    nRsc_DELTALANG = InvalidAtom;
43 Atom    nRsc_DELTASYSTEM = InvalidAtom;
44 Atom    nRsc_EXTRADATA = InvalidAtom;
45 
InitRscCompiler()46 void InitRscCompiler()
47 {
48     pStdParType      = new ByteString( "( const ResId & rResId, sal_Bool" );
49     pStdPar1         = new ByteString( '(' );
50     pStdPar2         = new ByteString( '(' );
51 
52     pWinParType      = new ByteString( "( Window * pParent, const ResId & rResId, sal_Bool" );
53     pWinPar1         = new ByteString( "( pParent," );
54     pWinPar2         = new ByteString( "( this," );
55     nRefDeep         = 10;
56     nRsc_XYMAPMODEId = InvalidAtom;
57     nRsc_WHMAPMODEId = InvalidAtom;
58     pHS = new AtomContainer();
59 };
60 
61