src/simulator/simulator.h
changeset 5507 915abd2b907b
parent 4448 641b88d1e131
child 5521 37c6c83d4252
     1.1 --- a/src/simulator/simulator.h	Tue May 19 15:34:20 2009 +0200
     1.2 +++ b/src/simulator/simulator.h	Thu Nov 12 13:19:35 2009 +0100
     1.3 @@ -27,6 +27,7 @@
     1.4  #include "nstime.h"
     1.5  
     1.6  #include "ns3/deprecated.h"
     1.7 +#include "ns3/object-factory.h"
     1.8  
     1.9  #include <stdint.h>
    1.10  #include <string>
    1.11 @@ -80,7 +81,7 @@
    1.12     * in the previous scheduler will be transfered to the new scheduler
    1.13     * before we start to use it.
    1.14     */
    1.15 -  static void SetScheduler (Ptr<Scheduler> scheduler);
    1.16 +  static void SetScheduler (ObjectFactory schedulerFactory);
    1.17  
    1.18    /**
    1.19     * Every event scheduled by the Simulator::insertAtDestroy method is