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.
30 lines
909 B
30 lines
909 B
using System;
|
|
|
|
namespace Sog
|
|
{
|
|
|
|
public class IConfigManager
|
|
{
|
|
protected int m_ErrorCount = 0;
|
|
protected bool m_readKeyOnly = false;
|
|
|
|
protected bool m_allRead = false;
|
|
public virtual bool Init(string fileName, string fileContent) { return false; }
|
|
public virtual int GetErrorCount() { return m_ErrorCount; }
|
|
|
|
public virtual void SetReadKeyOnlyInit(bool readKeyOnly) { m_readKeyOnly = readKeyOnly; }
|
|
public virtual bool IsReadKeyOnly() { return m_readKeyOnly; }
|
|
|
|
public virtual void ReadComplete() { }
|
|
public virtual void ReadAllComplete() { }
|
|
|
|
public virtual bool InitBin(string fileName, byte[] fileContent) { return false; }
|
|
|
|
public virtual bool InitJson(string fileName) { return false; }
|
|
|
|
public virtual int AsynReadBin(int maxTimes)
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
}
|