-
Notifications
You must be signed in to change notification settings - Fork 9
/
LauncherThreadParam.cpp
66 lines (52 loc) · 1.66 KB
/
LauncherThreadParam.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
//====================================================================================
// Open Computer and Software Inventory Next Generation
// Copyright (C) 2010 OCS Inventory NG Team. All rights reserved.
// Web: http://www.ocsinventory-ng.org
// This code is open source and may be copied and modified as long as the source
// code is always made freely available.
// Please refer to the General Public Licence V2 http://www.gnu.org/ or Licence.txt
//====================================================================================
// LauncherThreadParam.cpp: implementation of the CLauncherThreadParam class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "ocs_deploy_tool.h"
#include "AgentSettings.h"
#include "LauncherThreadParam.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CLauncherThreadParam::CLauncherThreadParam()
{
}
CLauncherThreadParam::~CLauncherThreadParam()
{
}
void CLauncherThreadParam::SetParam( HWND hWnd, CAgentSettings *pSettings, CStringList *pComputers, CStringList *pFailed)
{
m_hWnd = hWnd;
m_pSettings = pSettings;
m_pComputers = pComputers;
m_pFailed = pFailed;
}
HWND CLauncherThreadParam::GetHwnd()
{
return m_hWnd;
}
CAgentSettings * CLauncherThreadParam::GetSettings()
{
return m_pSettings;
}
CStringList * CLauncherThreadParam::GetComputersList()
{
return m_pComputers;
}
CStringList * CLauncherThreadParam::GetFailedList()
{
return m_pFailed;
}