Moneybox interface.h

From wizarPOS
Revision as of 10:06, 4 April 2018 by Mahong (talk | contribs) (Created page with " #ifndef MONEY_SERVICE_INTERFACE_H_ #define MONEY_SERVICE_INTERFACE_H_ #ifdef __cplusplus extern "C" { #endif /** * open the money box device * @retur...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
 #ifndef MONEY_SERVICE_INTERFACE_H_
 #define MONEY_SERVICE_INTERFACE_H_
 
 #ifdef __cplusplus
 extern "C"
 {
 #endif
 
 /**
  * open the money box device
  * @return value : < 0 : error code
  * 				   >= 0 : success;	
  */
 
 typedef int (*moneybox_open)();
 /*
  * close the money box device
  * @return value : < 0 : error code
  * 				   >= 0 : success;
  */
 
 typedef int (*moneybox_close)();
 
 /*
  * open money box
  * @return value : < 0 : error code;
  *                 >= 0 : success
  */
 
 typedef int (*moneybox_ctrl)();
 
 /*
  * enable or disable hardware
  * @param[in] : unsigned typedef int (* nEable : 1 : enable, 0 : disable
  * return value : >= 0 : success
  *                < 0 : error code
  */
 
 typedef int (*moneybox_setEnable)(unsigned int nEnable);
 #ifdef __cplusplus
 }
 #endif
 
 #endif /* MONEY_SERVICE_INTERFACE_H_ */