Struct xpcom::interfaces::nsIFeedResultService [] [src]

#[repr(C)]
pub struct nsIFeedResultService { /* fields omitted */ }

interface nsIFeedResultService : nsISupports

/**
 * nsIFeedResultService provides a globally-accessible object for retrieving
 * the results of feed processing.
 */

Methods

impl nsIFeedResultService
[src]

[src]

Cast this nsIFeedResultService to one of its base interfaces.

impl nsIFeedResultService
[src]

[src]

/**
   * When set to true, forces the preview page to be displayed, regardless
   * of the user's preferences.
   */

attribute boolean forcePreviewPage;

[src]

/**
   * When set to true, forces the preview page to be displayed, regardless
   * of the user's preferences.
   */

attribute boolean forcePreviewPage;

[src]

/**
   * Adds a URI to the user's specified external feed handler, or live
   * bookmarks.
   * @param   uri
   *          The uri of the feed to add.
   * @param   title
   *          The title of the feed to add.
   * @param   subtitle
   *          The subtitle of the feed to add.
   * @param   feedType
   *          The nsIFeed type of the feed.  See nsIFeed.idl
   * @param   feedReader
   *          The type of feed reader we're using (client, bookmarks, default)
   *          If this parameter is null, the type is set to default
   */

void addToClientReader (in AUTF8String uri, in AString title, in AString subtitle, in unsigned long feedType, [optional] in AString feedReader);

[src]

/**
   * Registers a Feed Result object with a globally accessible service
   * so that it can be accessed by a singleton method outside the usual
   * flow of control in document loading.
   *
   * @param   feedResult
   *          An object implementing nsIFeedResult representing the feed.
   */

void addFeedResult (in nsIFeedResult feedResult);

[src]

/**
   * Gets a Feed Handler object registered using addFeedResult.
   *
   * @param   uri
   *          The URI of the feed a handler is being requested for
   */

nsIFeedResult getFeedResult (in nsIURI uri);

[src]

/**
   * Unregisters a Feed Handler object registered using addFeedResult.
   * @param   uri
   *          The feed URI the handler was registered under. This must be
   *          the same *instance* the feed was registered under.
   */

void removeFeedResult (in nsIURI uri);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIFeedResultService
[src]

IID: nsIID = nsID(2502991826, 31546, 18427, [151, 243, 92, 70, 13, 148, 115, 205])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIFeedResultService
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIFeedResultService
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.