home *** CD-ROM | disk | FTP | other *** search
/ Chip 2004 September / CHIP_CD_2004-09.iso / software / custombar / CustomBar_trial_100_setup.exe / CBPluginUtil.h < prev    next >
C/C++ Source or Header  |  2004-06-08  |  1KB  |  41 lines

  1. /*   
  2.  ----------------------------------------------------------------------
  3. | CUSTOMBAR PLUGIN SDK
  4. | UTILITY FUNCTIONS
  5. |
  6. | This library is distributed in the hope that it will be useful,
  7. | but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9. |
  10. | Copyright (C) 2002-2004 Lizardsoft. All Rights Reserved.
  11.  ---------------------------------------------------------------------- */
  12.  
  13. #if !defined(CBPLUGINUTIL_HHH_H_H_HHH___INCLUDED_)
  14. #define CBPLUGINUTIL_HHH_H_H_HHH___INCLUDED_
  15.  
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19.  
  20.  
  21. #define PL_ERROR               0
  22. #define PL_BROWSER_UNKNOWN     126
  23. #define PL_BROWSER_IE          1
  24. #define PL_BROWSER_NETSCAPE    2
  25. #define PL_BROWSER_MOZILLA     3
  26.  
  27. // used by ConvertLineBreaks to specify line break format to convert string to
  28. const int PL_LB_CRLF      = 1;
  29. const int PL_LB_CR        = 2;
  30. const int PL_LB_LF        = 3;
  31.  
  32. CB_API int PL_ConvertStrToColorRef( COLORREF *Color, const TCHAR *Str );
  33. CB_API int PL_ConvertStrToFont( HFONT *Font, const TCHAR *Str );
  34. CB_API int PL_ConvertLineBreaks( TCHAR *Dest, const TCHAR *Str, int Format );
  35. CB_API int PL_GetDefaultBrowser( TCHAR *Buffer, int MaxLen );
  36.  
  37.  
  38. CB_API int PL_GetVersion();
  39.  
  40.  
  41. #endif // CBPLUGINUTIL_HHH_H_H_HHH___INCLUDED_