1 |
astrand |
930 |
//********************************************************************************* |
2 |
|
|
// |
3 |
|
|
//Title: Terminal Services Window Clipper |
4 |
|
|
// |
5 |
|
|
//Author: Martin Wickett |
6 |
|
|
// |
7 |
|
|
//Date: 2004 |
8 |
|
|
// |
9 |
|
|
//********************************************************************************* |
10 |
|
|
|
11 |
|
|
#include "WindowData.h" |
12 |
|
|
|
13 |
astrand |
933 |
CWindowData::CWindowData(const CStdString & csId):m_csTitle(""), m_csId(""), m_iX1(0), m_iY1(0), m_iX2(0), |
14 |
|
|
m_iY2(0) |
15 |
astrand |
930 |
{ |
16 |
astrand |
933 |
|
17 |
astrand |
930 |
} |
18 |
|
|
|
19 |
astrand |
933 |
void CWindowData::SetId(const CStdString & csId) |
20 |
astrand |
930 |
{ |
21 |
astrand |
933 |
m_csId = csId; |
22 |
astrand |
930 |
} |
23 |
|
|
|
24 |
astrand |
933 |
void CWindowData::SetTitle(const CStdString & csTitle) |
25 |
astrand |
930 |
{ |
26 |
astrand |
933 |
m_csTitle = csTitle; |
27 |
astrand |
930 |
} |
28 |
|
|
|
29 |
|
|
void CWindowData::SetX1(int iX1) |
30 |
|
|
{ |
31 |
astrand |
933 |
m_iX1 = iX1; |
32 |
astrand |
930 |
} |
33 |
|
|
|
34 |
|
|
void CWindowData::SetY1(int iY1) |
35 |
|
|
{ |
36 |
astrand |
933 |
m_iY1 = iY1; |
37 |
astrand |
930 |
} |
38 |
|
|
|
39 |
|
|
void CWindowData::SetX2(int iX2) |
40 |
|
|
{ |
41 |
astrand |
933 |
m_iX2 = iX2; |
42 |
astrand |
930 |
} |
43 |
|
|
|
44 |
|
|
void CWindowData::SetY2(int iY2) |
45 |
|
|
{ |
46 |
astrand |
933 |
m_iY2 = iY2; |
47 |
astrand |
930 |
} |
48 |
|
|
|
49 |
|
|
CStdString CWindowData::GetId() |
50 |
|
|
{ |
51 |
astrand |
933 |
return this->m_csId; |
52 |
astrand |
930 |
} |
53 |
|
|
|
54 |
|
|
CStdString CWindowData::GetTitle() |
55 |
|
|
{ |
56 |
astrand |
933 |
return this->m_csTitle; |
57 |
astrand |
930 |
} |
58 |
|
|
|
59 |
|
|
int CWindowData::GetX1() |
60 |
|
|
{ |
61 |
astrand |
933 |
return this->m_iX1; |
62 |
astrand |
930 |
} |
63 |
|
|
|
64 |
|
|
int CWindowData::GetY1() |
65 |
|
|
{ |
66 |
astrand |
933 |
return this->m_iY1; |
67 |
astrand |
930 |
} |
68 |
|
|
|
69 |
|
|
int CWindowData::GetX2() |
70 |
|
|
{ |
71 |
astrand |
933 |
return this->m_iX2; |
72 |
astrand |
930 |
} |
73 |
|
|
|
74 |
|
|
int CWindowData::GetY2() |
75 |
|
|
{ |
76 |
astrand |
933 |
return this->m_iY2; |
77 |
|
|
} |