Creating an Interface part from a Service part or external type

You can use other parts as a models for an Interface part.
To create an Interface part from a Service or ExternalType part:
  1. In the Project Explorer view, right-click an EGL source file that includes an EGL Service or ExternalType part and then click EGL Services > Extract EGL Interface. The New EGL Interface Part window opens.
  2. In the Source folder field, select a source folder to hold the new file.
  3. In the Package field, select a package to hold the new file.
  4. In the EGL source file name field, type a name for the new file that will contain the new Interface part. By convention, files that contain interface parts begin with a capital letter I.
  5. In the Functions field, select the functions (or, in the case of an ExternalType, function prototypes) to include in the new Interface part. Functions that are marked as private are not shown in this list. In the case of an ExternalType part, EGL might show multiple Interfaces on separate tabs. You can change the suggested name for any of these Interfaces.

    To select or deselect the functions, you can use the Select All and Deselect All buttons.

  6. If you want to overwrite an EGL source file, select Overwrite existing files.
  7. Click Finish.

Feedback