aseprite/src/app/file_selector.h
David Capello 8014c828af Add a special dialog for File > Export command
With this change we have moved all the file selector customization to
a new special FileExportWindow. So the file selector is used only to
select the output file (no more FileSelectorDelegate = now we can use
the native file selector for File > Export).
2018-03-15 21:00:54 -03:00

34 lines
673 B
C++

// Aseprite
// Copyright (C) 2001-2018 David Capello
//
// This program is distributed under the terms of
// the End-User License Agreement for Aseprite.
#ifndef APP_FILE_SELECTOR_H_INCLUDED
#define APP_FILE_SELECTOR_H_INCLUDED
#pragma once
#include "base/paths.h"
#include "doc/pixel_ratio.h"
#include <string>
namespace ui {
class ComboBox;
}
namespace app {
enum class FileSelectorType { Open, OpenMultiple, Save };
bool show_file_selector(
const std::string& title,
const std::string& initialPath,
const base::paths& extensions,
FileSelectorType type,
base::paths& output);
} // namespace app
#endif