Rumba C++ SDK
FileFilter.h File Reference
#include <string>
#include <vector>
#include "Export.h"
#include "Value.h"

Go to the source code of this file.

Classes

class  maquina::FileFilters
 
class  maquina::FileFilters::SubFilter
 

Namespaces

 maquina
 This version of the SDK is unstable, i-e, it may change with no warning.
 

Functions

MAQUINA_EXPORT void maquina::register_file_type (const std::string_view &name, FileFilters file_filters)
 Register a new file type name with a collection of file filters. More...
 
MAQUINA_EXPORT const FileFilters & maquina::file_filter (const std::string &name)
 Get the file filters using a file type name. More...
 
MAQUINA_EXPORT std::string maquina::active_document_directory ()
 Get the directory of the active document. More...
 
MAQUINA_EXPORT std::string maquina::file_default_directory (const std::string_view &file_type)
 Get the directory associated to the file type. More...
 
MAQUINA_EXPORT void maquina::save_default_directory (const std::string_view &file_type, const std::string_view &chosen_file_path)
 Save the last directory used with this file type. More...
 
MAQUINA_EXPORT void maquina::save_recent_file (std::string file_path, const std::string_view &setting)
 Save the file path in a recent file list hold in a setting. More...