home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / convclss.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  1.4 KB  |  42 lines

  1. // --convclss.h-----------------------------------------------------------------
  2. //
  3. //  Defines CClassName - a C++ class that keeps track of conversion classes
  4. // 
  5. // Copyright 1986 - 1998 Microsoft Corporation.  All Rights Reserved.
  6. //
  7. // -----------------------------------------------------------------------------
  8.  
  9. #if !defined(_CONVCLSS_H)
  10. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  11. #define _CONVCLSS_H
  12.  
  13. //$$--CClassName---------------------------------------------------------------
  14. //
  15. //  DESCRIPTION: This class manages entry point name information.
  16. //
  17. // ---------------------------------------------------------------------------
  18. class CClassName
  19. {
  20. protected:
  21.     LPWSTR m_pszClassName ;                 // name of the class supported.
  22.     CDllEntryPoint * m_pEntryPoint ;        // entry point details.
  23.  
  24. public:
  25.     CClassName * m_pcnNext ;                // next pointer.
  26.     CClassName();
  27.     ~CClassName();
  28.  
  29.     void EDKDump() ;
  30.      
  31.     HRESULT HrEDKSet(LPCWSTR pszClassName, CDllEntryPoint * pEntryPoint) ;
  32.  
  33.     LPWSTR const pszClassName()  { return  m_pszClassName; } 
  34.     int const cNameLength()      { ASSERTERROR(m_pszClassName != NULL, "NULL m_pszClassName"); 
  35.                                    return lstrlenW(m_pszClassName); } 
  36.     CDllEntryPoint * pEntryPoint() 
  37.                                  { return (m_pEntryPoint); }
  38. };
  39.  
  40. #pragma option pop /*P_O_Pop*/
  41. #endif
  42.