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.
53 lines
1.1 KiB
53 lines
1.1 KiB
//----------------------------------------------------------------------------
|
|
// Laser Guard Ltd.
|
|
// Copyright © 2000-2002. All Rights Reserved.
|
|
// Version 1.0 01/01/2000
|
|
// Last modification: 05/11/2003
|
|
// PROJECT:
|
|
// SUBSYSTEM:
|
|
// FILE: LgReportSettings.h
|
|
// AUTHOR: Sergey Chizhevskiy
|
|
// OVERVIEW
|
|
// ~~~~~~~~
|
|
// Header file of LgReportSettings.h
|
|
//----------------------------------------------------------------------------
|
|
#ifndef __LG__REPORT__SETUP__SETTINGS__H__INCLUDED__
|
|
#define __LG__REPORT__SETUP__SETTINGS__H__INCLUDED__
|
|
|
|
#include "..\LgArray.h"
|
|
|
|
#pragma once
|
|
|
|
struct CLgReportSiteInfo
|
|
{
|
|
TCHAR pName[MAX_PATH];
|
|
TCHAR pAddress[MAX_PATH];
|
|
WORD wPort;
|
|
};
|
|
|
|
class CLgReportSettings :
|
|
public CLgArray<CLgReportSiteInfo>
|
|
{
|
|
public:
|
|
CLgReportSettings();
|
|
|
|
public:
|
|
BOOL Load( LPCTSTR pFileName );
|
|
BOOL Store( LPCTSTR pFileName );
|
|
|
|
public:
|
|
typedef struct SETTINGS
|
|
{
|
|
TCHAR pAccessName[MAX_PATH];
|
|
BOOL bAccessEnable;
|
|
WORD wAccessPort;
|
|
}SETTINGS;
|
|
|
|
public:
|
|
SETTINGS& GetSettings() { return m_Settings; }
|
|
|
|
private:
|
|
SETTINGS m_Settings;
|
|
};
|
|
|
|
#endif
|