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
36 lines
1.2 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 08/10/2003
|
|
// PROJECT: Laserguard libraries
|
|
// SUBSYSTEM: LgLib
|
|
// FILE: LgPrivateProfile.h
|
|
// AUTHOR: Chizhevskiy Sergey
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of CLgPrivateProfile
|
|
//----------------------------------------------------------------------------
|
|
|
|
#ifndef __LG__PRIVATE__PROFILE__H__INCLUDED__
|
|
#define __LG__PRIVATE__PROFILE__H__INCLUDED__
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
class CLgPrivateProfile
|
|
{
|
|
public:
|
|
static RECT GetPrivateProfileRect( LPCTSTR pSectionName, LPCTSTR pValueName, RECT rDefault, LPCTSTR pFileName );
|
|
static INT WritePrivateProfileRect( LPCTSTR pSectionName, LPCTSTR pValueName, RECT rValue, LPCTSTR pFileName );
|
|
|
|
public:
|
|
static HBITMAP LoadProfileImage( LPCTSTR pSectionName, LPCTSTR pBitmapName, LPCTSTR pIniFileName );
|
|
|
|
public:
|
|
static INT GetPrivateProfileInt( LPCTSTR pSectionName, LPCTSTR pValueName, INT nDefault, LPCTSTR pFileName );
|
|
static INT WritePrivateProfileInt( LPCTSTR pSectionName, LPCTSTR pValueName, INT nValue, LPCTSTR pFileName );
|
|
};
|
|
|
|
#endif
|