Author: janderwald Date: Tue Jul 10 22:24:17 2007 New Revision: 27570
URL: http://svn.reactos.org/svn/reactos?rev=27570&view=rev Log: - forgot one file
Added: trunk/reactos/tools/sysreg/data_source.h (with props)
Added: trunk/reactos/tools/sysreg/data_source.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/data_source.h?... ============================================================================== --- trunk/reactos/tools/sysreg/data_source.h (added) +++ trunk/reactos/tools/sysreg/data_source.h Tue Jul 10 22:24:17 2007 @@ -1,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__ */
Propchange: trunk/reactos/tools/sysreg/data_source.h ------------------------------------------------------------------------------ svn:eol-style = native
Propchange: trunk/reactos/tools/sysreg/data_source.h ------------------------------------------------------------------------------ svn:keywords = author date id revision