You can use other parts as a models for an
Interface part.
To
create an Interface part from a Service or ExternalType part:
- In
the Project Explorer view, right-click an EGL source file that
includes an EGL Service or ExternalType part and then click . The New EGL Interface 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.
By convention, files that contain interface parts begin with a capital
letter I.
- 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.
- If you want to overwrite an EGL
source file, select Overwrite
existing files.
- Click Finish.