-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPyProjectProperties.cpp
More file actions
90 lines (75 loc) · 1.93 KB
/
PyProjectProperties.cpp
File metadata and controls
90 lines (75 loc) · 1.93 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#include "stdafx.h"
#include "PyProjectProperties.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
void CPyProjectProperties::Init(IBroker* pBroker)
{
pBroker->GetInterface(IID_IProjectProperties, (IUnknown**)&m_pProjectProperties);
}
void CPyProjectProperties::Reset()
{
m_pProjectProperties.Release();
}
std::string CPyProjectProperties::GetBridgeName() const
{
USES_CONVERSION;
return T2A(m_pProjectProperties->GetBridgeName());
}
void CPyProjectProperties::SetBridgeName(LPCSTR strName)
{
USES_CONVERSION;
m_pProjectProperties->SetBridgeName(A2T(strName));
}
std::string CPyProjectProperties::GetBridgeID() const
{
USES_CONVERSION;
return T2A(m_pProjectProperties->GetBridgeID());
}
void CPyProjectProperties::SetBridgeID(LPCSTR strID)
{
USES_CONVERSION;
m_pProjectProperties->SetBridgeID(A2T(strID));
}
std::string CPyProjectProperties::GetJobNumber() const
{
USES_CONVERSION;
return T2A(m_pProjectProperties->GetJobNumber());
}
void CPyProjectProperties::SetJobNumber(LPCSTR strJobNumber)
{
USES_CONVERSION;
m_pProjectProperties->SetJobNumber(A2T(strJobNumber));
}
std::string CPyProjectProperties::GetEngineer() const
{
USES_CONVERSION;
return T2A(m_pProjectProperties->GetEngineer());
}
void CPyProjectProperties::SetEngineer(LPCSTR strEngineer)
{
USES_CONVERSION;
m_pProjectProperties->SetEngineer(A2T(strEngineer));
}
std::string CPyProjectProperties::GetCompany() const
{
USES_CONVERSION;
return T2A(m_pProjectProperties->GetCompany());
}
void CPyProjectProperties::SetCompany(LPCSTR strCompany)
{
USES_CONVERSION;
m_pProjectProperties->SetCompany(A2T(strCompany));
}
std::string CPyProjectProperties::GetComments() const
{
USES_CONVERSION;
return T2A(m_pProjectProperties->GetComments());
}
void CPyProjectProperties::SetComments(LPCSTR strComments)
{
USES_CONVERSION;
m_pProjectProperties->SetComments(A2T(strComments));
}