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
| #include "stdafx.h"
| #include "Recipe.h"
|
|
| CRecipe::CRecipe()
| {
| }
|
| CRecipe::CRecipe(int id, const char* pszName)
| {
| m_nId = id;
| m_strName = pszName;
| }
|
| CRecipe::~CRecipe()
| {
| }
|
| int CRecipe::getId()
| {
| return m_nId;
| }
|
| std::string& CRecipe::getName()
| {
| return m_strName;
| }
|
|