You can use a service part as a model for an interface part. Follow these
steps to create an Interface part that references one or more of the functions
in an existing service part:
- In the Project Explorer view, right-click on an EGL source file that includes
an EGL Service part and then click Extract EGL Interface.
The New EGL Part window opens.
- In the Source folder field, select a source folder
to hold the new file.
- In the Package field, select a package to hold
the new file.
- In the EGL source file name field, type a name
for the new file that will contain the new Interface part.
- In the Functions field, select the functions which
you want to include in the new Interface part.
You can use the Select
All and Deselect All buttons to select
or deselect the functions.
- If you want to overwrite an EGL source file, select the Overwrite
existing files check box.
- Click Finish.