From: Anneli <an...@us...> - 2005-03-07 11:14:12
|
Update of /cvsroot/redpos/RedPOS/src/org/redpos/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29708/src/org/redpos/client Modified Files: POSEngine.java Log Message: Added functionality for short commands when selecting payment Index: POSEngine.java =================================================================== RCS file: /cvsroot/redpos/RedPOS/src/org/redpos/client/POSEngine.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** POSEngine.java 17 Jan 2005 10:23:20 -0000 1.7 --- POSEngine.java 7 Mar 2005 11:13:59 -0000 1.8 *************** *** 1371,1373 **** --- 1371,1395 ---- } } + + /** + * Start selected payment + * + * @jmx.managed-operation + * @param receipt + */ + public void startSelectedPayment(final PaymentInfo payment) + { + try + { + // send payment selected + this.fireNotification( + POSEngineConstants.NOTIFICATION_POS_PAYMENT_SELECTED, payment); + } + catch(Exception e) + { + e.printStackTrace(); + + } + + } } \ No newline at end of file |