2012-02-15 19:34:31 -06:00
|
|
|
|
|
|
|
|
2013-01-11 12:28:27 -06:00
|
|
|
/* typedef struct { */
|
|
|
|
/* Char barcode[15]; */
|
|
|
|
/* Char cases[4]; */
|
|
|
|
/* Char units[4]; */
|
|
|
|
/* } RatScanDbRecord; */
|
2012-02-15 19:34:31 -06:00
|
|
|
|
|
|
|
|
2012-12-04 13:55:58 -06:00
|
|
|
#ifdef SCANLIB_BCS2
|
|
|
|
static Boolean OpenBCS2Scanner();
|
2012-02-15 19:34:31 -06:00
|
|
|
static void CloseBCS2Scanner();
|
2012-12-04 13:55:58 -06:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef SCANLIB_JANAM
|
|
|
|
//static Boolean OpenBabboScanner();
|
|
|
|
#endif
|
|
|
|
|
2013-01-11 12:28:27 -06:00
|
|
|
/* static DmOpenRef CreateScanDatabase(); */
|
|
|
|
/* static void DrawCustomTableItem(void* table, Int16 row, Int16 col, RectangleType* bounds); */
|
2012-12-04 13:18:18 -06:00
|
|
|
/* static Int16 GetCheckedValue(UInt16 objId); */
|
2013-01-11 12:28:27 -06:00
|
|
|
/* static Boolean IsChecked(FormPtr form, UInt16 controlID); */
|
|
|
|
/* static void *GetObjectPtr(UInt16 objId); */
|
|
|
|
/* static Boolean MainFormHandleEvent(EventPtr event); */
|
|
|
|
/* static void MainFormInit(FormPtr form); */
|
|
|
|
/* static void MainFormLoadTable(TablePtr table, Boolean updateScroll); */
|
|
|
|
/* static DmOpenRef OpenScanDatabase(); */
|
|
|
|
/* static void ShowQuantityForm(UInt16 triggerID, Boolean manual); */
|
|
|
|
/* static Boolean StoreScanData(); */
|
|
|
|
|
|
|
|
/* static void EnableScanner(Boolean enable); */
|
|
|
|
/* static void FocusBarcode(); */
|
|
|
|
//static void FetchScanData();
|
|
|
|
/* static void ProcessScan(); */
|
2012-12-04 13:18:18 -06:00
|
|
|
|
|
|
|
// Quantity Form
|
2013-01-11 12:28:27 -06:00
|
|
|
/* static Boolean QuantityFormHandleEvent(EventPtr event); */
|
|
|
|
/* static void QuantityFormInit(FormPtr form); */
|
|
|
|
/* static void AppendQuantityDigit(UInt16 digit); */
|
|
|
|
/* static void UpdateQuantityDisplay(); */
|
|
|
|
/* static void QuantityFormAccept(); */
|