Experimenting with my first idl file. This interface will allow us to have the application (or the code that wants to run a url) to be a listener on that url. we'd like to see something like this get pushed into netlib.

This commit is contained in:
mscott%netscape.com 1999-03-01 19:16:31 +00:00
Родитель 94295fa9e1
Коммит f9fd062256
1 изменённых файлов: 26 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,26 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
#include "nsISupports.idl"
[object, uuid(45d234d0-c6c9-11d1-bea2-00805f8a66dc)]
interface nsIUrlListener : nsISupports {
OnStartRunningUrl(in nsIURL url);
OnStopRunningUrl(in nsIURL url, in nsresult errorCode);
};