interface Action : Bonobo::Unknown {
/**
- * getNActions:
- * return values: a @long containing the number of actions this object supports.
- *
- * Returns the number of actions supported by this object.
+ * nActions: a @long containing the number of actions this object supports.
+ *
**/
- long getNActions ();
+ readonly attribute long nActions;
/**
* getDescription:
*
* Gets the description of the specified action.
*
- * return values: a @wstring containing the description of the specified action.
+ * Returns: a @wstring containing the description of the specified action.
*
**/
string getDescription (in long index);
*
* Gets the name of the specified action.
*
- * return values: a @string containing the name of the specified action.
+ * Returns: a @string containing the name of the specified action.
*
**/
string getName (in long index);
*
* Causes the object to perform the specified action.
*
- * return values: a @boolean indicating success or failure.
+ * Returns: a @boolean indicating success or failure.
*
**/
- void doAction (in long index);
+ boolean doAction (in long index);
/**
* getKeyBinding:
- * return values: a @string containing the key binding for the specified action,
- * "" if none exists.
* @index: an %in parameter specifying the 0-based index of the action
* for which a key binding is requested.
*
* Gets the key binding associated with a specific action.
*
+ * Returns: a @string containing the key binding for the specified action,
+ * "" if none exists.
**/
string getKeyBinding (in long index);
+
+ /**
+ * unImplemented:
+ *
+ * placeholders for future expansion.
+ */
+ void unImplemented ();
+ void unImplemented2 ();
};
};
+