Files
create/src/App/ExportInfo.h
theo-vt b8e8b57411 Core: Remember export information on a per document basis (#22067)
* Use a new struct ExportInfo to hold export information on a per document basis
2025-07-16 02:43:57 +00:00

27 lines
517 B
C++

#ifndef SRC_APP_EXPORTINFO_H_
#define SRC_APP_EXPORTINFO_H_
#include "DocumentObject.h"
#include <string>
namespace App
{
/// Struct that holds information about the last
/// export so that the user does not have to reenter
/// them on each export. The export command either uses
/// the target document's export info
struct ExportInfo {
std::string location {};
std::string filename {};
std::string filter {};
bool generatedName {false};
App::DocumentObject* object {nullptr};
};
}
#endif