mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
ed8a956763
* idl/*.idl: Include the .idl files of other modules that we use. * libnautilus/Makefile.am, src/Makefile.am, src/file-manager/Makefile.am: Define -D_REENTRANT, just in case. * src/file-manager/Makefile.am: Add cflags for .idl compilation. * components/help/Makefile.am: Build converters. Stop installing the now-unneeded .schemes file. * components/websearch/ntl-web-search.c: Get rid of gnome_button_can_default() * libnautilus/nautilus-icons-view-icon-item.c: Get rid of missing prototypes and associated warnings by including needed headers. * src/ntl-types.h, src/ntl-uri-map.[ch], src/ntl-window.h, src/ntl-window-msgs.c: Remove scheme mapping functionality (now done in gnome-vfs). Use asynchronous version of get_file_info.
44 lines
1.2 KiB
Text
44 lines
1.2 KiB
Text
#include <gnome-factory.idl>
|
|
#include <Bonobo.idl>
|
|
|
|
module GNOME {
|
|
module Desktop {
|
|
|
|
interface FileOperationService {
|
|
typedef sequence<string> FileNameList;
|
|
|
|
typedef unsigned short XferOptions;
|
|
const unsigned short XferOptionDefault = 0;
|
|
const unsigned short XferOptionPreserve = 1 << 0;
|
|
const unsigned short XferOptionFollowLinks = 1 << 1;
|
|
const unsigned short XferOptionWithParents = 1 << 2;
|
|
const unsigned short XferOptionRecursive = 1 << 3;
|
|
const unsigned short XferOptionSameFS = 1 << 4;
|
|
const unsigned short XferOptionSparseAlways = 1 << 5;
|
|
const unsigned short XferOptionSparseNever = 1 << 6;
|
|
const unsigned short XferOptionUpdateMode = 1 << 7;
|
|
const unsigned short XferOptionRemoveSource = 1 << 8;
|
|
|
|
enum XferOverwriteMode {
|
|
XferOverwriteAbort,
|
|
XferOverwriteQuery,
|
|
XferOverwriteReplace,
|
|
XferOverwriteSkip
|
|
};
|
|
|
|
enum XferErrorMode {
|
|
XferErrorAbort,
|
|
XferErrorQuery
|
|
};
|
|
|
|
void xfer (in string source_directory_uri,
|
|
in FileNameList source_file_names,
|
|
in string target_directory_uri,
|
|
in FileNameList target_file_names,
|
|
in XferOptions options,
|
|
in XferErrorMode error_mode,
|
|
in XferOverwriteMode overwrite_mode);
|
|
};
|
|
|
|
};
|
|
};
|