Old fashion design for PC-104
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.

36 lines
1.2 KiB

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. //----------------------------------------------------------------------------
  2. // Laser Guard Ltd.
  3. // Copyright � 2000-2002. All Rights Reserved.
  4. // Version 1.0 01/01/2000
  5. // Last modification: 08/10/2003
  6. // PROJECT: Laserguard libraries
  7. // SUBSYSTEM: LgLib
  8. // FILE: LgPrivateProfile.h
  9. // AUTHOR: Chizhevskiy Sergey
  10. // OVERVIEW
  11. // ~~~~~~~~
  12. // Header file of CLgPrivateProfile
  13. //----------------------------------------------------------------------------
  14. #ifndef __LG__PRIVATE__PROFILE__H__INCLUDED__
  15. #define __LG__PRIVATE__PROFILE__H__INCLUDED__
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif
  19. class CLgPrivateProfile
  20. {
  21. public:
  22. static RECT GetPrivateProfileRect( LPCTSTR pSectionName, LPCTSTR pValueName, RECT rDefault, LPCTSTR pFileName );
  23. static INT WritePrivateProfileRect( LPCTSTR pSectionName, LPCTSTR pValueName, RECT rValue, LPCTSTR pFileName );
  24. public:
  25. static HBITMAP LoadProfileImage( LPCTSTR pSectionName, LPCTSTR pBitmapName, LPCTSTR pIniFileName );
  26. public:
  27. static INT GetPrivateProfileInt( LPCTSTR pSectionName, LPCTSTR pValueName, INT nDefault, LPCTSTR pFileName );
  28. static INT WritePrivateProfileInt( LPCTSTR pSectionName, LPCTSTR pValueName, INT nValue, LPCTSTR pFileName );
  29. };
  30. #endif