Name the registerRecordDeviceDriver subroutine after the dbd file it was

created from; allows applications to be split up and loaded separately.
This commit is contained in:
Andrew Johnson
2003-07-22 15:36:29 +00:00
parent e38db3e6d3
commit f24895c325
6 changed files with 33 additions and 8 deletions
@@ -5,7 +5,7 @@
## Register all support components
dbLoadDatabase("../../dbd/_APPNAME_.dbd",0,0)
registerRecordDeviceDriver(pdbbase)
_APPNAME__registerRecordDeviceDriver(pdbbase)
## Load record instances
dbLoadRecords("../../db/dbExample1.db","user=_USER_Host")
@@ -5,7 +5,7 @@
## Register all support components
dbLoadDatabase("dbd/_APPNAME_.dbd",0,0)
registerRecordDeviceDriver(pdbbase)
_APPNAME__registerRecordDeviceDriver(pdbbase)
## Load record instances
dbLoadRecords("db/dbExample1.db","user=_USER_")
@@ -19,7 +19,7 @@ ld < _APPNAME_.munch
## Register all support components
cd top
dbLoadDatabase("dbd/_APPNAME_.dbd",0,0)
registerRecordDeviceDriver(pdbbase)
_APPNAME__registerRecordDeviceDriver(pdbbase)
## Load record instances
dbLoadRecords("db/dbExample1.db","user=_USER_")