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 |
astrand |
937 |
m_iY2(0) |
15 |
|
|
{} |
16 |
astrand |
933 |
|
17 |
|
|
void CWindowData::SetId(const CStdString & csId) |
18 |
astrand |
930 |
{ |
19 |
astrand |
933 |
m_csId = csId; |
20 |
astrand |
930 |
} |
21 |
|
|
|
22 |
astrand |
933 |
void CWindowData::SetTitle(const CStdString & csTitle) |
23 |
astrand |
930 |
{ |
24 |
astrand |
933 |
m_csTitle = csTitle; |
25 |
astrand |
930 |
} |
26 |
|
|
|
27 |
|
|
void CWindowData::SetX1(int iX1) |
28 |
|
|
{ |
29 |
astrand |
933 |
m_iX1 = iX1; |
30 |
astrand |
930 |
} |
31 |
|
|
|
32 |
|
|
void CWindowData::SetY1(int iY1) |
33 |
|
|
{ |
34 |
astrand |
933 |
m_iY1 = iY1; |
35 |
astrand |
930 |
} |
36 |
|
|
|
37 |
|
|
void CWindowData::SetX2(int iX2) |
38 |
|
|
{ |
39 |
astrand |
933 |
m_iX2 = iX2; |
40 |
astrand |
930 |
} |
41 |
|
|
|
42 |
|
|
void CWindowData::SetY2(int iY2) |
43 |
|
|
{ |
44 |
astrand |
933 |
m_iY2 = iY2; |
45 |
astrand |
930 |
} |
46 |
|
|
|
47 |
|
|
CStdString CWindowData::GetId() |
48 |
|
|
{ |
49 |
astrand |
933 |
return this->m_csId; |
50 |
astrand |
930 |
} |
51 |
|
|
|
52 |
|
|
CStdString CWindowData::GetTitle() |
53 |
|
|
{ |
54 |
astrand |
933 |
return this->m_csTitle; |
55 |
astrand |
930 |
} |
56 |
|
|
|
57 |
|
|
int CWindowData::GetX1() |
58 |
|
|
{ |
59 |
astrand |
933 |
return this->m_iX1; |
60 |
astrand |
930 |
} |
61 |
|
|
|
62 |
|
|
int CWindowData::GetY1() |
63 |
|
|
{ |
64 |
astrand |
933 |
return this->m_iY1; |
65 |
astrand |
930 |
} |
66 |
|
|
|
67 |
|
|
int CWindowData::GetX2() |
68 |
|
|
{ |
69 |
astrand |
933 |
return this->m_iX2; |
70 |
astrand |
930 |
} |
71 |
|
|
|
72 |
|
|
int CWindowData::GetY2() |
73 |
|
|
{ |
74 |
astrand |
933 |
return this->m_iY2; |
75 |
|
|
} |