Ignore:
Timestamp:
Feb 14, 2017, 3:06:20 PM (8 years ago)
Author:
Sanahuja Guillaume
Message:

singleton manager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/Controller/Mavlink/src/main.cpp

    r88 r137  
    5656
    5757  if(mode == "forward") {
    58     Forwarder *guiForwarder = new Forwarder(manager, "Forwarder",
     58    Forwarder *guiForwarder = new Forwarder("Forwarder",
    5959                                           inputAddress, inputPort,
    6060                                           outputAddress, outputPort);
     
    6666    GuiInterface *guiHandler;
    6767    if(mode == "flair") {
    68       guiHandler = new GuiFlair(manager, "GuiFlair");
     68      guiHandler = new GuiFlair("GuiFlair");
    6969    } else if (mode == "gcs") {
    70       guiHandler = new GuiGcs(manager, "GuiGcs", outputAddress, outputPort);
     70      guiHandler = new GuiGcs("GuiGcs", outputAddress, outputPort);
    7171    } else {
    7272      //ERROR
Note: See TracChangeset for help on using the changeset viewer.