/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef nsFilePicker_h__ #define nsFilePicker_h__
#include <windows.h>
#include"mozilla/MozPromise.h" #include"nsCOMArray.h" #include"nsBaseFilePicker.h" #include"nsString.h" #include"nsdefs.h" #include <commdlg.h> #include <shobjidl.h> #undef LogSeverity // SetupAPI.h #defines this as DWORD
class nsIFile; class nsILoadContext; class nsISimpleEnumerator;
namespace mozilla {
namespace dom { class BrowsingContext;
} // namespace dom
namespace widget::filedialog { class Command; class Results; enumclass FileDialogType : uint8_t; struct Error;
} // namespace widget::filedialog
class nsFilePicker final : public nsBaseWinFilePicker { virtual ~nsFilePicker() = default;
template <typename T> using Maybe = mozilla::Maybe<T>; template <typename T> using Result = mozilla::Result<T, HRESULT>;
using Command = mozilla::widget::filedialog::Command; using Results = mozilla::widget::filedialog::Results; using FileDialogType = mozilla::widget::filedialog::FileDialogType; using Error = mozilla::widget::filedialog::Error;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.