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