/*
 * BEGIN FLOCK GPL
 *
 * Copyright Flock Inc. 2005-2008
 * http://flock.com
 *
 * This file may be used under the terms of the
 * GNU General Public License Version 2 or later (the "GPL"),
 * http://www.gnu.org/licenses/gpl.html
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * END FLOCK GPL
 */

#include "nsISupports.idl"
#include "nsIURL.idl"

interface flockIFeed;
interface flockIFeedContext;

[scriptable, uuid(61222e81-5d9e-45ad-aaa4-0e1101ce386f)]
interface flockIFeedItem : nsISupports {
    AString getItemID();
    nsIURL getLink();

    AString getTitle();
    AString getAuthor();

    PRTime getPubDate();
    PRTime getCorrectedPubDate();

    AString getContent();
    AString getExcerpt();

    flockIFeedContext getContext();

    boolean isRead();
    boolean isFlagged();

    void setRead(in boolean read);
    void setFlagged(in boolean flagged);

    flockIFeed getFeed();
};
