Blame netwerk/protocol/ftp/nsIFTPChannel.idl

Packit f0b94e
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
Packit f0b94e
/* This Source Code Form is subject to the terms of the Mozilla Public
Packit f0b94e
 * License, v. 2.0. If a copy of the MPL was not distributed with this
Packit f0b94e
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
Packit f0b94e
Packit f0b94e
#include "nsISupports.idl"
Packit f0b94e
Packit f0b94e
/**
Packit f0b94e
 * This interface may be used to determine if a channel is a FTP channel.
Packit f0b94e
 */
Packit f0b94e
[scriptable, uuid(07f0d5cd-1fd5-4aa3-b6fc-665bdc5dbf9f)]
Packit f0b94e
interface nsIFTPChannel : nsISupports
Packit f0b94e
{
Packit f0b94e
    attribute PRTime lastModifiedTime;
Packit f0b94e
};
Packit f0b94e
Packit f0b94e
/**
Packit f0b94e
 * This interface may be defined as a notification callback on the FTP
Packit f0b94e
 * channel.  It allows a consumer to receive a log of the FTP control
Packit f0b94e
 * connection conversation.
Packit f0b94e
 */
Packit f0b94e
[scriptable, uuid(455d4234-0330-43d2-bbfb-99afbecbfeb0)]
Packit f0b94e
interface nsIFTPEventSink : nsISupports
Packit f0b94e
{
Packit f0b94e
    /**
Packit f0b94e
     * XXX document this method!  (see bug 328915)
Packit f0b94e
     */
Packit f0b94e
    void OnFTPControlLog(in boolean server, in string msg);
Packit f0b94e
};