Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.6 KiB

  1. //------------------------------------------------------------------------------
  2. //
  3. // File: procobj.inl
  4. // Copyright (C) 1994-1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // Purpose:
  8. // Inline implementations of CProcessObj and derived classes.
  9. //
  10. // YOU SHOULD NOT NEED TO CHANGE THIS FILE. However, the CProcessObj family
  11. // is used extensively in a typical parser implementation. See procobj.h for
  12. // more information.
  13. //
  14. // Owner:
  15. //
  16. //------------------------------------------------------------------------------
  17. //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  18. //
  19. // Return a localizable-item handler.
  20. //------------------------------------------------------------------------------
  21. inline CLocItemHandler &
  22. CProcessObj::GetHandler()
  23. {
  24. ASSERT_VALID(&m_handler);
  25. return m_handler;
  26. } // end of CProcessObj::GetHandler()
  27. //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  28. //
  29. // Get language ID object for source language.
  30. //------------------------------------------------------------------------------
  31. inline const CLocLangId &
  32. CProcessObj::GetSrcLangID()
  33. {
  34. return m_langIdSrc;
  35. } // end of CProcessObj::GetSrcLangID()
  36. //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  37. //
  38. // Get language ID object for target language (generating only).
  39. //------------------------------------------------------------------------------
  40. inline const CLocLangId &
  41. CProcessObjGen::GetTgtLangID()
  42. {
  43. return m_langIdTgt;
  44. } // end of CProcessObjGen::GetTgtLangID()