rattail-palm/src/AppMain.h

33 lines
1.1 KiB
C
Raw Normal View History

2012-02-15 19:34:31 -06:00
typedef struct {
Char barcode[15];
Char cases[4];
Char units[4];
} RatScanDbRecord;
//static void CloseBabboScanner();
static void CloseBCS2Scanner();
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);
2012-02-15 19:34:31 -06:00
static Boolean MainFormHandleEvent(EventPtr event);
static void MainFormInit(FormPtr form);
static void MainFormLoadTable(TablePtr table, Boolean updateScroll);
//static Boolean OpenBabboScanner();
static Boolean OpenBCS2Scanner();
static DmOpenRef OpenScanDatabase();
static void SetFieldFocus(UInt16 objId);
static void ShowQuantityForm(UInt16 triggerID, Boolean manual);
2012-02-15 19:34:31 -06:00
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();