Changeset 112:58892a32a039 in xplra for test/hotkeyctest.c


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/hotkeyctest.c

    r55 r112  
    3131#include <hu/varadiistvan/xplra/xplra.h>
    3232
     33#include "ccommon.h"
     34
    3335#include <stdio.h>
    3436#include <string.h>
     
    5759//------------------------------------------------------------------------------
    5860
    59 int main()
     61int main(int argc, char* argv[])
    6062{
    6163    int retval = 0;
     
    6567
    6668    printf("Connecting to X-Plane...\n");
    67     int connectionID = xplra_connect();
     69    int connectionID = connect_xplane(argc, argv);
    6870
    6971    if (connectionID>=0) {
Note: See TracChangeset for help on using the changeset viewer.