a highly automated and intuitive digital audio workstation
No Matches
file_import.h File Reference

File import handling. More...

#include "utils/types.h"
#include <glib.h>
Include dependency graph for file_import.h:

Go to the source code of this file.

Data Structures

struct  FileImportInfo
struct  FileImport
 An object used for importing files asynchronously. More...


#define FILE_IMPORT_TYPE   (file_import_get_type ())


 TYPEDEF_STRUCT (SupportedFile)
 G_DECLARE_FINAL_TYPE (FileImport, file_import, Z, FILE_IMPORT, GObject)
FileImportInfofile_import_info_new (void)
FileImportInfofile_import_info_clone (const FileImportInfo *src)
void file_import_info_free (FileImportInfo *self)
FileImportfile_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.

Detailed Description

File import handling.

Definition in file file_import.h.