typedef struct { Char barcode[15]; Char cases[4]; Char units[4]; } RatScanDbRecord; #ifdef SCANLIB_BCS2 static Boolean OpenBCS2Scanner(); static void CloseBCS2Scanner(); #endif #ifdef SCANLIB_JANAM //static Boolean OpenBabboScanner(); //static void CloseBabboScanner(); #endif static DmOpenRef CreateScanDatabase(); static void DrawCustomTableItem(void* table, Int16 row, Int16 col, RectangleType* bounds); /* static Int16 GetCheckedValue(UInt16 objId); */ 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 SetFieldFocus(UInt16 objId); static void ShowQuantityForm(UInt16 triggerID, Boolean manual); static Boolean StoreScanData(); // Quantity Form static Boolean QuantityFormHandleEvent(EventPtr event); static void QuantityFormInit(FormPtr form); static void AppendQuantityDigit(UInt16 digit); static void UpdateQuantityDisplay(); static void QuantityFormAccept();