Files
pilotclient/src/plugins/simulator/fs9/host_node.cpp
2014-08-03 14:52:31 +02:00

35 lines
948 B
C++

/* Copyright (C) 2014
* swift project community / contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of Swift Project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
#include "host_node.h"
namespace BlackSimPlugin
{
namespace Fs9
{
CHostNode::CHostNode()
{
}
CHostNode::CHostNode(const CHostNode &other)
: m_appDesc(other.m_appDesc), m_sessionName(other.m_sessionName)
{
other.m_hostAddress->Duplicate(&m_hostAddress);
}
CHostNode::~CHostNode()
{
if (m_hostAddress)
m_hostAddress->Release();
m_hostAddress = nullptr;
}
}
}