forked from donaloconnor/automon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdtc.cpp
43 lines (35 loc) · 1.89 KB
/
dtc.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
==================================================================================================
| dtc.cpp |
| Part of the Automon application. |
| |
| Final Year Project - "An Embedded Automotive Monitoring Device" |
| |
| By Donal O' Connor for completion of B.Sc (Hons) Software Development and Computer Networking |
| Email: [email protected] |
| Website/Blog: http://automon.killarneyonline.eu |
| |
| Cork Institute of Technology, Cork, Ireland - http://www.cit.ie/ |
| |
| Copyright © 2009 Donal O'Connor <[email protected]> |
==================================================================================================
This is the implementation of the basic DTC class. Self explanatory
*/
#include "automon.h"
using namespace AutomonKernel;
DTC::DTC(QString code, QString englishMeaning, QString potentialSolution)
: m_code(code), m_englishMeaning(englishMeaning), m_potentialSolution(potentialSolution)
{
}
QString DTC::getCode()
{
return m_code;
}
QString DTC::getEnglishMeaning()
{
return m_englishMeaning;
}
QString DTC::getPotentialSolution()
{
return m_potentialSolution;
}