Importing interfaces from another module

A module can access data types and routines provided by another module if you import an interface from that module.

About this task

When you use BladeManager to register or unregister modules in databases, BladeManager checks dependencies between modules to ensure that all required interfaces are available.
Important: The interface you import must not contain features that are not available for the database server version associated with your project.

To import an interface, you must have the project file (project.ibs, where project is the name of the module) of the module from which you want to import an interface.

To import an interface:

Procedure

  1. Open the project files for both modules in BladeSmith: the one to import into and the one to import from.
  2. Click the object to import in the source project view.
  3. Choose Edit > Copy.
  4. Click the destination project window.
  5. Choose Edit > Import > From Clipboard.

Results

The object is added in the proper subfolder in the Imported Objects folder.