mc/idl/FileManager.idl
Miguel de Icaza 075ccc0046 2000-01-26 Federico Mena Quintero <federico@helixcode.com>
* idl/FileManager.idl (Desktop): Added arrange_icons() method and
	an ArrangeType enum.
2000-01-25 10:30:53 +00:00

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);
};
};
};