Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / programs / dtinfo / dtinfogen / infolib / etc / TKTemplate.C
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
6  * These libraries and programs are free software; you can
7  * redistribute them and/or modify them under the terms of the GNU
8  * Lesser General Public License as published by the Free Software
9  * Foundation; either version 2 of the License, or (at your option)
10  * any later version.
11  *
12  * These libraries and programs are distributed in the hope that
13  * they will be useful, but WITHOUT ANY WARRANTY; without even the
14  * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  * PURPOSE. See the GNU Lesser General Public License for more
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these librararies and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $TOG: TKTemplate.C /main/6 1998/04/17 11:43:37 mgreess $ 
24  *
25  * (c) Copyright 1996 Digital Equipment Corporation.
26  * (c) Copyright 1996 Hewlett-Packard Company.
27  * (c) Copyright 1996 International Business Machines Corp.
28  * (c) Copyright 1996 Sun Microsystems, Inc.
29  * (c) Copyright 1996 Novell, Inc. 
30  * (c) Copyright 1996 FUJITSU LIMITED.
31  * (c) Copyright 1996 Hitachi.
32  */
33
34 #include "dti_cc/CC_Stack.h"
35 #include "dti_cc/CC_Stack.C"
36 #include "dti_cc/CC_Slist.h"
37 #include "dti_cc/CC_Slist.C"
38 #include "dti_cc/cc_pvect.h"
39 #include "dti_cc/cc_pvect.C"
40 #include "dti_cc/cc_hdict.h"
41 #include "dti_cc/cc_hdict.C"
42 #include "BTCollectable.h"
43 #include "DataRepository.h"
44 #include "dti_cc/CC_String.h"
45
46 #ifdef _IBMR2
47 #pragma define (Stack<int>)
48 #pragma define (CC_TPtrSlist<CC_String>)
49 #pragma define (hashTable<CC_String, BTCollectable>)
50 #pragma define (hashTable<CC_String, int>)
51 #pragma define (hashTableIterator<CC_String, BTCollectable>)
52 #pragma define (hashTableIterator<CC_String, int>)
53 #pragma define (Stack<Rec>)
54 #endif
55
56 #ifdef __osf__
57 #pragma define_template Stack<int>
58 #pragma define_template CC_TPtrSlist<CC_String>
59 #pragma define_template hashTable<CC_String, BTCollectable>
60 #pragma define_template hashTable<CC_String, int>
61 #pragma define_template hashTableIterator<CC_String, BTCollectable>
62 #pragma define_template hashTableIterator<CC_String, int>
63 #pragma define_template Stack<Rec>
64 #pragma define_template CC_TValSlist<int>
65 #pragma define_template CC_TPtrSlist<kv_pair<CC_String, BTCollectable> >
66 #pragma define_template CC_TPtrSlist<kv_pair<CC_String, int> >
67 #pragma define_template CC_TValSlist<Rec>
68 #pragma define_template CC_TValSlistIterator<int>
69 #pragma define_template CC_TValSlistIterator<Rec>
70 #pragma define_template kv_pair<CC_String, BTCollectable>
71 #pragma define_template pointer_vector<CC_TPtrSlist<kv_pair<CC_String, BTCollectable> > >
72 #pragma define_template kv_pair<CC_String, int>
73 #pragma define_template pointer_vector<CC_TPtrSlist<kv_pair<CC_String, int> > >
74
75 CC_Boolean kv_pair<CC_String, BTCollectable>::f_needRemove = FALSE;
76 CC_Boolean kv_pair<CC_String, int>::f_needRemove = FALSE;
77
78 #endif
79
80 #ifdef USL
81 #pragma instantiate Stack<int>
82 #pragma instantiate CC_TPtrSlist<CC_String>
83 #pragma instantiate hashTable<CC_String, BTCollectable>
84 #pragma instantiate hashTable<CC_String, int>
85 #pragma instantiate hashTableIterator<CC_String, BTCollectable>
86 #pragma instantiate hashTableIterator<CC_String, int>
87 #pragma instantiate Stack<Rec>
88 #pragma instantiate CC_TValSlist<int>
89 #pragma instantiate CC_TPtrSlist<kv_pair<CC_String, BTCollectable> >
90 #pragma instantiate CC_TPtrSlist<kv_pair<CC_String, int> >
91 #pragma instantiate CC_TValSlist<Rec>
92 #pragma instantiate CC_TValSlistIterator<int>
93 #pragma instantiate CC_TValSlistIterator<Rec>
94 #pragma instantiate kv_pair<CC_String, BTCollectable>
95 #pragma instantiate pointer_vector<CC_TPtrSlist<kv_pair<CC_String, BTCollectable> > >
96 #pragma instantiate kv_pair<CC_String, int>
97 #pragma instantiate pointer_vector<CC_TPtrSlist<kv_pair<CC_String, int> > >
98 #endif
99
100 #if !defined(__osf__) && !defined(IBMR2)
101 typedef Stack<int> _f1_;
102 typedef CC_TPtrSlist<CC_String> _f2_;
103 typedef hashTable<CC_String, BTCollectable> _f3_;
104 typedef hashTable<CC_String, int> _f4_;
105 typedef hashTableIterator<CC_String, BTCollectable> _f5_;
106 typedef hashTableIterator<CC_String, int> _f6_;
107 typedef Stack<Rec> _f7_;
108 #endif