Permalink
Browse files

Updated example widls.

git-svn-id: http://widl.webvm.net/svn/widlproc/trunk@400 b2e84630-a466-403e-8074-5faad0055f28
  • Loading branch information...
1 parent 899db16 commit b1618d5a0e40de5327c89f978b2486a460b8b219 tpr committed Oct 26, 2009
Showing with 11 additions and 8 deletions.
  1. +8 −5 examples/bondi.widl
  2. +3 −3 examples/filesystem.widl
View
@@ -53,7 +53,7 @@ module bondi {
/**
* \brief Generic Map object.
*/
- typedef object Map;
+ typedef Object Map;
/**
* \brief Generic success callback interface.
@@ -73,9 +73,9 @@ module bondi {
/**
* \brief Method invoked upon a succesful requestFeature invocation
*
- * \param ob object implementing the JavaScript API associated with the requested Feature.
+ * \param ob Object implementing the JavaScript API associated with the requested Feature.
*/
- void onSuccess(in object ob);
+ void onSuccess(in Object ob);
};
@@ -184,8 +184,7 @@ module bondi {
* bondi root property exists in the global object
* \def-api-feature http://bondi.omtp.org/api/bondi.requestfeature
*/
- [NoInterfaceObject]
- interface bondi {
+ interface Bondi {
/**
* \brief Requests a feature.
*
@@ -221,4 +220,8 @@ module bondi {
in DOMString name)
raises(DeviceAPIError, SecurityError);
};
+ interface BondiObject {
+ readonly attribute Bondi bondi;
+ };
+ Window implements bondiObject;
};
View
@@ -1030,9 +1030,9 @@ module filesystem {
* \api-feature http://bondi.omtp.org/api/filesystem.read
* \api-feature http://bondi.omtp.org/api/filesystem.write
*/
- interface FileSystemObject {
- attribute FileSytemManager fileSystemManager;
+ interface FileSystemManagerObject {
+ readonly attribute FileSystemManager fileSystemManager;
};
- bondi implements FileSystemObject;
+ bondi implements FileSystemManagerObject;
};

0 comments on commit b1618d5

Please sign in to comment.