Changeset 87:819d8b155771 in xplra for src/client/c/hu/varadiistvan/xplra/xplra.cc
- Timestamp:
- 05/12/13 09:02:44 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/client/c/hu/varadiistvan/xplra/xplra.cc
r70 r87 530 530 //------------------------------------------------------------------------------ 531 531 532 extern "C" int xplra_save_situation(int connectionID, const char* path) 533 { 534 Connection* connection = ConnectionSlot::getValue(connectionID); 535 if (connection==0) return -1; 536 try { 537 connection->saveSituation(path); 538 return 0; 539 } catch (...) { 540 connection->handleException(); 541 return -1; 542 } 543 } 544 545 //------------------------------------------------------------------------------ 546 532 547 extern "C" int xplra_get_int(int* value, int connectionID, const char* name) 533 548 {
Note:
See TracChangeset
for help on using the changeset viewer.