/* vim: ts=4 sw=4 expandtab cindent
 *
 * BEGIN FLOCK GPL
 * 
 * Copyright Flock Inc. 2005-2006
 * http://flock.com
 * 
 * This file may be used under the terms of 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"

[scriptable, uuid(4ca3a2b1-a3ba-4a86-9143-53a3156e31bd)]
interface flockIFavoriteProperties : nsISupports {
    attribute AString wsid;
    attribute AString tags;
    attribute AString name;
    attribute AString shortcutURL;
    attribute AString description;

    attribute long long lastModifiedDate;
    attribute long long addedDate;

    attribute boolean local;
    attribute boolean private;
    attribute boolean feed;

    attribute AString favicon;

    const unsigned long FIELD_WSID              = 0x0001;
    const unsigned long FIELD_TAGS              = 0x0002;
    const unsigned long FIELD_NAME              = 0x0004;
    const unsigned long FIELD_SHORTCUTURL       = 0x0008;
    const unsigned long FIELD_DESCRIPTION       = 0x0010;
    const unsigned long FIELD_LASTMODIFIEDDATE  = 0x0020;
    const unsigned long FIELD_ADDEDDATE         = 0x0040;
    const unsigned long FIELD_LOCAL             = 0x0080;
    const unsigned long FIELD_PRIVATE           = 0x0100;
    const unsigned long FIELD_FEED              = 0x0200;
    const unsigned long FIELD_FAVICON           = 0x0400;

    const unsigned long FIELD_ALL               = 0xFFFF;

    attribute long fields;
};
