mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
075ccc0046
* idl/FileManager.idl (Desktop): Added arrange_icons() method and an ArrangeType enum.
41 lines
799 B
Plaintext
41 lines
799 B
Plaintext
#include <gnome-factory.idl>
|
|
|
|
module GNOME {
|
|
module FileManager {
|
|
exception POSIX_ERROR { string errorstr; };
|
|
|
|
interface Desktop {
|
|
enum ArrangeType {
|
|
BY_NAME,
|
|
BY_TYPE,
|
|
BY_SIZE,
|
|
BY_ATIME,
|
|
BY_MTIME,
|
|
BY_CTIME
|
|
};
|
|
|
|
void rescan ();
|
|
void rescan_devices ();
|
|
void arrange_icons (in ArrangeType type);
|
|
};
|
|
|
|
interface Window {
|
|
/* not much yet */
|
|
oneway void close ();
|
|
};
|
|
|
|
interface WindowFactory : ::GNOME::GenericFactory {
|
|
typedef sequence<Window> WindowSeq;
|
|
|
|
/* This is the desktop object */
|
|
readonly attribute Desktop the_desktop;
|
|
|
|
Window create_window (in string dir)
|
|
raises (POSIX_ERROR);
|
|
void rescan_directory (in string dir);
|
|
void close_invalid_windows ();
|
|
WindowSeq get_windows_by_directory (in string dir);
|
|
};
|
|
};
|
|
};
|