toolkit/components/feeds/nsIFeedGenerator.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/components/feeds/nsIFeedGenerator.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +#include "nsIFeedElementBase.idl"
    1.10 +
    1.11 +interface nsIURI;
    1.12 +
    1.13 +/**
    1.14 + *  An nsIFeedGenerator represents the software used to create a feed.
    1.15 + */ 
    1.16 +[scriptable, uuid(0fecd56b-bd92-481b-a486-b8d489cdd385)]
    1.17 +interface nsIFeedGenerator : nsIFeedElementBase
    1.18 +{
    1.19 +  /**
    1.20 +   * The name of the software.
    1.21 +   */
    1.22 +  attribute AString agent;
    1.23 +
    1.24 +  /**
    1.25 +   * The version of the software.
    1.26 +   */
    1.27 +  attribute AString version;
    1.28 +
    1.29 +  /**
    1.30 +   * A URI associated with the software.
    1.31 +   */
    1.32 +  attribute nsIURI uri;
    1.33 +};

mercurial