EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Spezifikationen Seite 208

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 304
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 207
CHAPTER 7: Integrating External Libraries Defining entry points for indirect access 208
addClass()
ESerror_t addClass (SoHServer hServer, char* name,
SoObjectInterface_p pObjectInterface);
hServer
The SoHServer reference for this shared library, as passed to your global
ESClientInterface()
function on initialization.
name
String. The unique name of the new class. The name must begin with an
uppercase alphabetic character.
pObjectInterface
A pointer to an SoObjectInterface. A structure containing pointers to the
object interface methods for instances of this class.
Creates a new JavaScript class.
Returns an error code,
kESErrOK on success.
addMethod()
ESerror_t addMethod (SoHObject hObject, const char* name, int id, char* desc);
hObject
The SoHObject reference for an instance of this class.
name
String. The unique name of the new method.
id
Number. The unique identifier for the new method.
desc
String. A descriptive string for the new method.
Adds new method to an instance.
Returns an error code,
kESErrOK on success.
addMethods()
ESerror_t addMethods (SoHObject hObject, SoCClientName_p pNames);
hObject
The SoHObject reference for an instance of this class.
pNames[]
SoCClientName. A structure containing the names and identifiers of
methods to be added.
Adds a set of new methods to an instance.
Returns an error code,
kESErrOK on success.
addProperty()
ESerror_t addProperty (SoHObject hObject, const char* name, int id, char* desc);
hObject
The SoHObject reference for an instance of this class.
name
String. The unique name of the new property.
id
Number. The unique identifier for the new property.
desc
String. Optional. A descriptive string for the new property, or null.
Adds new property to an instance.
Returns an error code,
kESErrOK on success.
Seitenansicht 207
1 2 ... 203 204 205 206 207 208 209 210 211 212 213 ... 303 304

Kommentare zu diesen Handbüchern

Keine Kommentare