OSCAR-code/SleepLib/loader_plugins/sleep_database.h

34 lines
1.0 KiB
C
Raw Normal View History

2011-07-10 14:23:07 +00:00
#ifndef DATABASE_H
#define DATABASE_H
//********************************************************************************************
/// IMPORTANT!!!
//********************************************************************************************
// Please INCREMENT the following value when making changes to this loaders implementation.
//
const int sleeplib_data_version=1;
//
//********************************************************************************************
/*#include <QString>
#include "SleepLib/profiles.h"
const QString sleeplib_class_name="SleepDB";
class SleepDatabase : public MachineLoader
{
public:
SleepDatabase();
virtual ~SleepDatabase();
virtual bool Open(QString & path,Profile *profile);
virtual int Version() { return sleeplib_data_version; };
virtual const QString & ClassName() { return sleeplib_class_name; };
Machine *CreateMachine(QString serial,Profile *profile);
static void Register();
protected:
map<QString,Machine *> MachList;
};*/
#endif // DATABASE_H