C:/projects/songbird/components/dataremote/public/sbIDataRemote.idl

Go to the documentation of this file.
00001 /*
00002 //
00003 // BEGIN SONGBIRD GPL
00004 // 
00005 // This file is part of the Songbird web player.
00006 //
00007 // Copyright© 2006 POTI, Inc.
00008 // http://songbirdnest.com
00009 // 
00010 // This file may be licensed under the terms of of the
00011 // GNU General Public License Version 2 (the “GPL”).
00012 // 
00013 // Software distributed under the License is distributed 
00014 // on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either 
00015 // express or implied. See the GPL for the specific language 
00016 // governing rights and limitations.
00017 //
00018 // You should have received a copy of the GPL along with this 
00019 // program. If not, go to http://www.gnu.org/licenses/gpl.html
00020 // or write to the Free Software Foundation, Inc., 
00021 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00022 // 
00023 // END SONGBIRD GPL
00024 //
00025  */
00026 
00033 #include "nsISupports.idl"
00034 #include "nsIObserver.idl"
00035 
00036 interface nsIDOMElement;
00037 
00057 [scriptable, uuid(80f8c597-2050-48a0-8efa-c9482547220e)]
00058 interface sbIDataRemote : nsIObserver
00059 {
00060 
00071   void init(in AString aKey, in AString aRoot);
00072 
00080   void unbind();
00081 
00091   void bindObserver(in nsIObserver aObserver,
00092                     in boolean aSuppressFirst);
00093 
00106   void bindProperty(in nsIDOMElement aElement, 
00107                     in AString aProperty,
00108                     in boolean aIsBool,
00109                     in boolean aIsNot,
00110                     in AString aEvalString);
00111  
00124   void bindAttribute(in nsIDOMElement aElement,
00125                      in AString aProperty,
00126                      in boolean aIsBool,
00127                      in boolean aIsNot,
00128                      in AString aEvalString);
00129 
00141   attribute AString stringValue;
00142 
00154   attribute boolean boolValue;
00155 
00167   attribute long intValue;
00168 
00169 };
00170 

Generated on Mon Aug 21 21:01:55 2006 for Songbird by  doxygen 1.4.7