TemplatesAutoNumber.C 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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 libraries 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. // $XConsortium: TemplatesAutoNumber.C /main/9 1996/10/08 19:23:56 cde-hal $
  24. #include "HardCopy/autoNumber.h"
  25. #ifdef CDE_NEXT
  26. //#include <StyleSheet/cde_next.h>
  27. #include "dti_cc/CC_String.h"
  28. #include "dti_cc/cc_hdict.h"
  29. #include "dti_cc/CC_Dlist.h"
  30. #include "dti_cc/CC_Stack.C"
  31. #endif /* end of CDE_NEXT */
  32. #if defined(sun)
  33. #ifndef CDE_NEXT /* { */
  34. typedef hashTable<CC_String,autoNumberListT> _f10_;
  35. typedef hashTable<CC_String,autoNumber> _f11_;
  36. typedef CC_TPtrSlistDictionary<CC_String,autoNumberListT> _f12_;
  37. typedef CC_TPtrSlistDictionary<CC_String,autoNumber> _f13_;
  38. typedef hashTableIterator<CC_String,autoNumber> _f14_;
  39. typedef hashTableIterator<CC_String, autoNumberListT> _f15;
  40. #else
  41. typedef CC_TPtrSlist<autoNumber> _CC_TPtrSlist_autoNumber_;
  42. typedef hashTable<CC_String, autoNumberListT> _hashTable_CC_String_autoNumberListT_;
  43. typedef hashTable<CC_String,autoNumber> _hashTable_CC_String_autoNumber_;
  44. typedef hashTableIterator<CC_String,autoNumber> _hashTableIterator_CC_String_autoNumber_;
  45. typedef hashTableIterator<CC_String, autoNumberListT> _hashTableIterator_CC_String_autoNumberListT_;
  46. typedef Stack<int> _Stack_int_;
  47. #endif /* end of CDE_NEXT } */
  48. #endif
  49. #ifdef _IBMR2
  50. #pragma define ( hashTable<CC_String,autoNumberListT> )
  51. #pragma define ( hashTable<CC_String,autoNumber> )
  52. #ifndef CDE_NEXT
  53. #pragma define ( CC_TPtrSlistDictionary<CC_String,autoNumberListT> )
  54. #pragma define ( CC_TPtrSlistDictionary<CC_String,autoNumber> )
  55. #endif
  56. #pragma define ( CC_TPtrSlist<autoNumber> )
  57. #pragma define ( hashTableIterator<CC_String,autoNumber> )
  58. #pragma define ( hashTableIterator<CC_String,autoNumberListT> )
  59. #pragma define ( Stack<int> )
  60. #endif