Changeset 112:58892a32a039 in xplra for test/basictest.cc


Ignore:
Timestamp:
12/23/22 09:10:52 (17 months ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 3 'hg:/home/ivaradi/xplane/hg/xplra' '/'>, 'public')
Message:

The test programs can be parameterized to connect over TCP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/basictest.cc

    r89 r112  
    2929//------------------------------------------------------------------------------
    3030
     31#include "common.h"
     32
    3133#include <hu/varadiistvan/xplra/XPlane.h>
    3234
     
    4850//------------------------------------------------------------------------------
    4951
    50 int main()
     52int main(int argc, char* argv[])
    5153{
    5254    try {
     
    5456
    5557        printf("Connecting to X-Plane...\n");
    56         xplane.connect();
     58        connectXPlane(xplane, argc, argv);
    5759        printf("Connected to X-Plane.\n\n");
    5860
Note: See TracChangeset for help on using the changeset viewer.