home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 123 / cdrom123.iso / essenc / extens / efore / ForecastFox.xpi / components / nsIWeatherfox.idl next >
Encoding:
Text File  |  2004-09-13  |  2.7 KB  |  62 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Mozilla Public License Version
  5.  * 1.1 (the "License"); you may not use this file except in compliance with
  6.  * the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/MPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is weatherfox.mozdev.org code.
  15.  *
  16.  * The Initial Developer of the Original Code is
  17.  * Richard Klein <richwklein@mchsi.com>.
  18.  * Portions created by the Initial Developer are Copyright (C) 2004
  19.  * the Initial Developer. All Rights Reserved.
  20.  *
  21.  * Contributor(s):
  22.  *   Richard Klein <richwklein@mchsi.com>
  23.  *   Jon Stritar <jstritar@mit.edu>
  24.  *
  25.  * Alternatively, the contents of this file may be used under the terms of
  26.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  27.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.  * in which case the provisions of the GPL or the LGPL are applicable instead
  29.  * of those above. If you wish to allow use of your version of this file only
  30.  * under the terms of either the GPL or the LGPL, and not to allow others to
  31.  * use your version of this file under the terms of the MPL, indicate your
  32.  * decision by deleting the provisions above and replace them with the notice
  33.  * and other provisions required by the GPL or the LGPL. If you do not delete
  34.  * the provisions above, a recipient may use your version of this file under
  35.  * the terms of any one of the MPL, the GPL or the LGPL.
  36.  *
  37.  * ***** END LICENSE BLOCK ***** */
  38.  
  39. #include "nsISupports.idl"
  40.  
  41. [scriptable, uuid(6F7A0252-FFF1-49f4-A175-CC7F077AB85C)]
  42. interface nsIWeatherfoxUpdate: nsISupports {
  43.   readonly attribute string productCode;
  44.   readonly attribute string partnerId;
  45.   readonly attribute string licenseKey;
  46.   readonly attribute string server;
  47.  
  48.   void getKeys(in string name, out PRUint32 count, [retval, array, size_is(count)] out string key);
  49.   string getValue(in string name, in string key, in PRUint32 index);
  50.   PRUint32 getLinkCount();
  51.  
  52.   void load(in boolean aForced);
  53. };
  54.  
  55. [scriptable, uuid(6CF34FFC-830E-4abf-AAA9-6A41CF66F2A0)]
  56. interface nsIWeatherfoxProfile: nsISupports {
  57.   void getNames(out PRUint32 count, [retval, array, size_is(count)] out string name);
  58.   void saveProfile(in string aName);
  59.   void loadProfile(in string aName);
  60.   void deleteProfile(in string aName);
  61.   void renameProfile(in string aName, in string aNameNew);
  62. };