Changeset 36:29e3b676c0c2 in xplra for src/client/c/hu/varadiistvan/xplra/xplra.cc
- Timestamp:
- 02/10/13 08:21:47 (11 years ago)
- Branch:
- default
- hg-Phase:
- (<MercurialRepository 3 'hg:/home/ivaradi/xplane/hg/xplra' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/client/c/hu/varadiistvan/xplra/xplra.cc
r29 r36 498 498 //------------------------------------------------------------------------------ 499 499 500 extern "C"int xplra_get_versions(int connectionID, 501 int* xplaneVersion, int* xplmVersion, 502 int* xplraVersion) 503 { 504 Connection* connection = ConnectionSlot::getValue(connectionID); 505 if (connection==0) return -1; 506 try { 507 connection->getVersions(*xplaneVersion, *xplmVersion, *xplraVersion); 508 return 0; 509 } catch (...) { 510 connection->handleException(); 511 return -1; 512 } 513 } 514 515 //------------------------------------------------------------------------------ 516 500 517 extern "C" int xplra_get_int(int* value, int connectionID, const char* name) 501 518 {
Note:
See TracChangeset
for help on using the changeset viewer.