/ src / emc / sai / dummyemcstat.cc
dummyemcstat.cc
 1  /*    This is a component of LinuxCNC
 2   *    Copyright 2011 Michael Haberler <git@mah.priv.at>
 3   *
 4   *    This program is free software; you can redistribute it and/or modify
 5   *    it under the terms of the GNU General Public License as published by
 6   *    the Free Software Foundation; either version 2 of the License, or
 7   *    (at your option) any later version.
 8   *
 9   *    This program is distributed in the hope that it will be useful,
10   *    but WITHOUT ANY WARRANTY; without even the implied warranty of
11   *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12   *    GNU General Public License for more details.
13   *
14   *    You should have received a copy of the GNU General Public License
15   *    along with this program; if not, write to the Free Software
16   *    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17   */
18  // keep linker happy so TaskMod can be resolved
19  
20  #include "rcs.hh"		// NML classes, nmlErrorFormat()
21  #include "emc.hh"		// EMC NML
22  #include "emc_nml.hh"
23  #include "rs274ngc.hh"
24  #include "rs274ngc_interp.hh"
25  
26  EMC_STAT *emcStatus = new EMC_STAT;
27  
28  // EMC_IO_STAT *emcIoStatus = new EMC_IO_STAT;
29  
30  int emcOperatorDisplay(int, char const*, ...) {return 0;};
31  
32  int emcOperatorText(int, char const*, ...) {return 0;}
33  
34  // int emcOperatorError(int, char const*, ...) {return 0;}
35  
36  
37  int emcAbortCleanup(int reason, const char *message)
38  {
39      printf("on_abort: [%d] %s\n", reason,message);
40      return 0;
41  }
42  
43  extern void emctask_quit(int sig) {};