00001 /*-------------------------------------------------------------------- 00002 * 00003 * (C) Copyright Koninklijke Philips Electronics NV 2006. 00004 * All rights reserved. This software is licensed under the terms of 00005 * version 2.1 of the GNU Lesser General Public License as published 00006 * by the Free Software Foundation. For licensing and warranty 00007 * information, see the file COPYING in the main directory. 00008 * 00009 *------------------------------------------------------------------*/ 00010 00011 #include <sys/types.h> 00012 #include "rtenetwork.h" 00013 #include "networkimpl.h" 00014 00015 rteNetwork::rteNetwork(NetworkImpl& n) : 00016 base(&n) 00017 { 00018 base->impl = this; 00019 } 00020 00021 rteNetwork::~rteNetwork() 00022 { 00023 base->impl = 0; 00024 } 00025 00026 const NetworkImpl* rteNetwork::api() const 00027 { 00028 return base; 00029 }