/*
 * 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 "flockIWebService.idl"
#include "nsITransferable.idl"

/**
 * Interface for Flickr Account methods.
 */
 
[scriptable, uuid(a251c2a1-aaf3-4550-b4d6-f06d4f57066d)]
interface flockIFlickrAccount : flockIWebServiceAccount {
  /**
   * Opens "Compose Mail" for friend specified by aFriendURN. Mail area is 
   * populated with Message information provided in aTransferable
   * @param aFriendURN (in)  URN for Flickr friend to send message to
   * @param aTransferable (in)  contents of Flock default message for flickr
   */
  void flickrMail(in AString aFriendURN, in nsITransferable aTransferable);
  
  /**
   * Opens "Compose Mail" for friend specified by aFriendURN. Mail area is
   * populated with messaging to download and use Flock
   * @param aFriendURN (in)  URN for Flickr friend to send message to
   */
  void shareFlock(in AString aFriendURN);
};
