OSCAR-code/SleepLib/event.cpp
Mark Watkins e6fe771adf QT Commit
2011-06-26 18:30:44 +10:00

22 lines
513 B
C++

/********************************************************************
SleepLib Event Class Implementation
Copyright (c)2011 Mark Watkins <jedimark@users.sourceforge.net>
License: GPL
*********************************************************************/
#include "event.h"
Event::Event(QDateTime time,MachineCode code, EventDataType * data, int fields)
:e_time(time),e_code(code)
{
e_fields=fields;
for (int i=0; i<fields; i++) {
e_data.push_back(data[i]);
}
}
Event::~Event()
{
};