Commit 5dd1fe5b authored by claes's avatar claes

Virtual time function added

parent 9b91a3a0
/* /*
* Proview $Id: wb_vrep.h,v 1.26 2006-05-26 06:59:01 lw Exp $ * Proview $Id: wb_vrep.h,v 1.27 2006-06-08 13:39:33 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -165,6 +165,7 @@ public: ...@@ -165,6 +165,7 @@ public:
wb_srep *nextSrep( pwr_tStatus *sts, wb_srep* srep); wb_srep *nextSrep( pwr_tStatus *sts, wb_srep* srep);
virtual const char *fileName() = 0; virtual const char *fileName() = 0;
virtual bool time( pwr_tTime *t) { return false;}
}; };
#endif #endif
/* /*
* Proview $Id: wb_vrepdbs.h,v 1.36 2006-05-26 11:57:28 lw Exp $ * Proview $Id: wb_vrepdbs.h,v 1.37 2006-06-08 13:39:33 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -138,7 +138,7 @@ public: ...@@ -138,7 +138,7 @@ public:
wb_orepdbs *new_wb_orepdbs(size_t size); wb_orepdbs *new_wb_orepdbs(size_t size);
void delete_wb_orepdbs(void *p); void delete_wb_orepdbs(void *p);
bool time( pwr_tTime *t); virtual bool time( pwr_tTime *t);
virtual wb_vrep *next (); virtual wb_vrep *next ();
...@@ -178,6 +178,7 @@ public: ...@@ -178,6 +178,7 @@ public:
virtual bool duplicateDb() const { return m_duplicate;} virtual bool duplicateDb() const { return m_duplicate;}
virtual void setDuplicateDb( bool duplicate) { m_duplicate = duplicate;} virtual void setDuplicateDb( bool duplicate) { m_duplicate = duplicate;}
virtual const char *fileName() { return m_fileName;} virtual const char *fileName() { return m_fileName;}
virtual const pwr_tTime time() { return pwr_cNTime;}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment