This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
int | iniSpindle (const char *filename) |
|
Definition at line 528 of file inispin.cc. Referenced by EMC_SPINDLE_MODULE::INIT(), and emcIoInit().
00529 { 00530 int retval = 0; 00531 00532 spindleInifile = new INIFILE; 00533 00534 if (-1 == spindleInifile->open(filename)) 00535 { 00536 return -1; 00537 } 00538 00539 // load spindle values 00540 if (0 != loadSpindle()) 00541 { 00542 retval = -1; 00543 } 00544 00545 // close the inifile 00546 spindleInifile->close(); 00547 delete spindleInifile; 00548 00549 return retval; 00550 } |