Zrythm
a highly automated and intuitive digital audio workstation
|
File import handling. More...
Go to the source code of this file.
Data Structures | |
struct | FileImportInfo |
struct | FileImport |
An object used for importing files asynchronously. More... | |
Macros | |
#define | FILE_IMPORT_TYPE (file_import_get_type ()) |
Functions | |
TYPEDEF_STRUCT (SupportedFile) | |
G_DECLARE_FINAL_TYPE (FileImport, file_import, Z, FILE_IMPORT, GObject) | |
FileImportInfo * | file_import_info_new (void) |
FileImportInfo * | file_import_info_clone (const FileImportInfo *src) |
void | file_import_info_free (FileImportInfo *self) |
FileImport * | file_import_new (const char *filepath, const FileImportInfo *import_nfo) |
Returns a new FileImport instance. | |
void | file_import_async (FileImport *self, GObject *owner, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer callback_data) |
Begins file import for a single file. | |
GPtrArray * | file_import_sync (FileImport *self, GError **error) |
GPtrArray * | file_import_finish (FileImport *self, GAsyncResult *result, GError **error) |
To be called by the provided GAsyncReadyCallback to retrieve retun values and error details, passing the GAsyncResult which was passed to the callback. | |
File import handling.
Definition in file file_import.h.