mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
- forgot one file
svn path=/trunk/; revision=27570
This commit is contained in:
parent
c0caac9484
commit
1c17aab025
1 changed files with 49 additions and 0 deletions
49
reactos/tools/sysreg/data_source.h
Normal file
49
reactos/tools/sysreg/data_source.h
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
#ifndef DATA_SOURCE_H__
|
||||||
|
#define DATA_SOURCE_H__
|
||||||
|
|
||||||
|
|
||||||
|
/* $Id$
|
||||||
|
*
|
||||||
|
* PROJECT: System regression tool for ReactOS
|
||||||
|
* LICENSE: GPL - See COPYING in the top level directory
|
||||||
|
* FILE: tools/sysreg/conf_parser.h
|
||||||
|
* PURPOSE: data source abstraction
|
||||||
|
* PROGRAMMERS: Johannes Anderwald (johannes.anderwald at sbox tugraz at)
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
|
#include "user_types.h"
|
||||||
|
|
||||||
|
namespace System_
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
class DataSource
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
DataSource()
|
||||||
|
{}
|
||||||
|
|
||||||
|
virtual ~DataSource()
|
||||||
|
{}
|
||||||
|
|
||||||
|
virtual bool open(const string & opencmd) = 0;
|
||||||
|
|
||||||
|
virtual bool close() = 0;
|
||||||
|
|
||||||
|
virtual bool read(std::vector<string> & vect) = 0;
|
||||||
|
|
||||||
|
}; // end of class DataSource
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
} // end of namespace System_
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif /* end of DATA_SOURCE_H__ */
|
Loading…
Reference in a new issue