|
/********************************************************************\
created: 2001/03/22
created: 22:3:2001 20:21
filename: c:\my projects\dualmagic\controlappl\include\cstorelog.h
file path: c:\my projects\dualmagic\controlappl\include
file base: cstorelog
file ext: h
author: Alex Kucherenko
purpose:
\********************************************************************/
#ifndef _LOG_SYS_STORE_LOG_H_
#define _LOG_SYS_STORE_LOG_H_
#pragma warning( push, 3 )
#pragma once
#pragma warning( disable: 4786 ) // disable STL warnings
#include "..\stdafx.h"
#include <string>
//////////////////////////////////////////////////////////////////////////
// Abstract class set three default function which must support any child.
// Any child must support buffered and non-buffered store
class IStoreLog
{
public:
virtual ~IStoreLog( void ){};
virtual int FlushData() = 0;
virtual int WriteString( const std::string &Message ) = 0;
virtual int SetBufferLimit( long lSize ) = 0;
};
#pragma warning( pop )
#endif /* _LOG_SYS_STORE_LOG_H_ */
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.