From 1c08119ec7fc0d71cda6ee25f84759afffc42755 Mon Sep 17 00:00:00 2001 From: "pavlov%netscape.com" Date: Mon, 15 Nov 1999 10:19:00 +0000 Subject: [PATCH] show returns a short instead of a boolean r=travis --- widget/public/nsIFilePicker.idl | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/widget/public/nsIFilePicker.idl b/widget/public/nsIFilePicker.idl index bdc8b89d47a9..6c659709c52b 100644 --- a/widget/public/nsIFilePicker.idl +++ b/widget/public/nsIFilePicker.idl @@ -1,24 +1,24 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- * - * The contents of this file are subject to the Netscape Public + * The contents of this file are subject to the Mozilla Public * License Version 1.1 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of - * the License at http://www.mozilla.org/NPL/ - * + * the License at http://www.mozilla.org/MPL/ + * * 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. - * - * The Original Code is mozilla.org code. - * + * + * The Original Code is the Mozilla browser. + * * The Initial Developer of the Original Code is Netscape - * Communications Corporation. Portions created by Netscape are - * Copyright (C) 1998 Netscape Communications Corporation. All + * Communications Corporation. Portions created by Netscape are + * Copyright (C) 1999 Netscape Communications Corporation. All * Rights Reserved. - * + * * Contributor(s): - * Stuart Parmenter + * Stuart Parmenter */ #include "nsISupports.idl" @@ -29,9 +29,9 @@ interface nsIDOMWindow; [scriptable, uuid(c47de916-1dd1-11b2-8141-82507fa02b21)] interface nsIFilePicker : nsISupports { - const short modeLoad = 0; // Load a file or directory - const short modeSave = 1; // Save a file or directory - const short modeGetFolder = 2; // Select a fodler/directory + const short modeLoad = 0; // Load a file or directory + const short modeSave = 1; // Save a file or directory + const short modeGetFolder = 2; // Select a fodler/directory const short returnOK = 0; // User hit cancel, ignore selection const short returnCancel = 1; // User hit Ok, process selection @@ -89,8 +89,8 @@ interface nsIFilePicker : nsISupports /** * Show File Dialog. The dialog is displayed modally. * - * @return PR_TRUE if user selects OK, PR_FALSE if user selects CANCEL + * @return returnOK if the user selects OK, returnCancel if the user selects cancel * */ - boolean show(); + short show(); };