2007-09-13 11:04:47 -07:00
|
|
|
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
|
|
|
|
|
/*
|
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
|
* published by the Free Software Foundation;
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
|
*/
|
|
|
|
|
|
2008-03-31 13:10:59 -07:00
|
|
|
#include "ns3/core-module.h"
|
2007-09-13 11:04:47 -07:00
|
|
|
|
2007-09-13 12:37:30 -07:00
|
|
|
NS_LOG_COMPONENT_DEFINE ("HelloSimulator");
|
2007-09-13 11:04:47 -07:00
|
|
|
|
2007-09-13 22:17:29 -07:00
|
|
|
using namespace ns3;
|
|
|
|
|
|
2007-09-13 11:04:47 -07:00
|
|
|
int
|
|
|
|
|
main (int argc, char *argv[])
|
|
|
|
|
{
|
2007-10-12 12:30:19 -07:00
|
|
|
// LogComponentEnable ("HelloSimulator",
|
|
|
|
|
// LogLevel (LOG_LEVEL_INFO | LOG_PREFIX_ALL));
|
2007-09-13 11:04:47 -07:00
|
|
|
|
2007-09-13 12:37:30 -07:00
|
|
|
NS_LOG_INFO ("Hello Simulator");
|
2007-09-13 11:04:47 -07:00
|
|
|
}
|