/* * COPYRIGHT NOTICE * Copyright (c) 1997 Integrated Computer Solutions * */ #include #include "bxwidget.h" #include "bxeditor.h" #include "bxfunction.h" #include "XmDumbLabel.h" #include "jstfytypes.h" #include "jstfyproto.h" #include "intwmdel.h" /* * External declarations of the DB registration functions */ extern void DBAddUserWidgets(); extern void DBAddUserDefinedEditors(); extern void DBAddUserFunctions(); void AddUserWidgets() { /* * You MUST leave this line here or you will not have the DBPak widgets * on the DX palette. */ DBAddUserWidgets(); /* * Register your widgets here */ #if SAMPLE RegisterWidgetExtended("xmDumbLabelWidgetClass", &xmDumbLabelWidgetClass, NULL, NULL, "XmDumbLabel.h", "Xm"); #endif } void AddUserDefinedEditors() { /* * You MUST leave this line here or you will not have custom DBPak editors. */ DBAddUserDefinedEditors(); /* * Register your user defined editors here */ #if SAMPLE RegisterResourceEditor("justify", JustifyExtendedBuild, JustifyExtendedUpdate, JustifyExtendedFetch, JustifySingleBuild, JustifySingleUpdate, JustifySingleFetch); #endif } void AddUserFunctions() { /* * You MUST leave this line here or DX will not function correctly. */ DBAddUserFunctions(); /* * Register your user functions here */ RegisterUserTypedCallback("XiDBInsertAtEndCB", XiDBInsertAtEndCB, XmRString); }