Former-commit-id:133dc97f67
[formerlya02aeb236c
] [formerly9f19e3f712
] [formerly06a8b51d6d
[formerly9f19e3f712
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:377dcd10b9
[formerly3360eb6c5f
] Former-commit-id:8e80217e59
51 lines
1.3 KiB
C
51 lines
1.3 KiB
C
#ifndef DESIRED_PRODUCT_ABS_H
|
|
#define DESIRED_PRODUCT_ABS_H
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
#include <Xm/Xm.h>
|
|
#include <Xm/Protocols.h>
|
|
#include <Xm/Text.h>
|
|
#include <Xm/List.h>
|
|
#include <Xm/PushB.h>
|
|
#include <Xm/ToggleB.h>
|
|
#include <X11/cursorfont.h>
|
|
#include "ArealProductControl.h"
|
|
#include "Xtools.h"
|
|
#include "DbmsUtils.h"
|
|
#include "DbmsDefs.h"
|
|
#include "desiredProduct.h"
|
|
#include "DesiredProductRecord.h"
|
|
/*#include "HvAbsDesiredProd.h" */
|
|
|
|
#define MAX_DPRODUCTS 5000
|
|
|
|
|
|
/*
|
|
Absolute callbacks section
|
|
*/
|
|
void dpAbsApplyCallback(Widget w, XtPointer ptr, XtPointer cbs);
|
|
void dpAbsDeleteCallback(Widget w, XtPointer ptr, XtPointer cbs);
|
|
void dpAbsSelectItemCallback(Widget w, XtPointer ptr, XtPointer cbs);
|
|
|
|
|
|
/*
|
|
Absolute utility functions
|
|
*/
|
|
void addAbsProductCallbacks ( DesiredProductRecord * dpr ) ;
|
|
int getHvAbsDesiredProdPos(HvAbsDesiredProd *relHead,
|
|
HvAbsDesiredProd *prod);
|
|
|
|
void dpAbsLoadList(DesiredProductRecord *dpr);
|
|
void dpAbsGetWhereClauseFromKey(HvAbsDesiredProd *hPtr, char *where);
|
|
|
|
void dpAbsLoadWidgets(HvAbsDesiredProd *hPtr);
|
|
void dpAbsUnloadWidgets(HvAbsDesiredProd *hPtr);
|
|
|
|
void dpAbsSave(HvAbsDesiredProd *hPtr);
|
|
void dpAbsDelete(HvAbsDesiredProd *hPtr);
|
|
|
|
|
|
#endif
|