1998-12-14 08:15:48 +03:00
|
|
|
#include <gnome-factory.idl>
|
1998-12-03 02:44:06 +03:00
|
|
|
|
1998-12-14 08:15:48 +03:00
|
|
|
module GNOME {
|
1999-09-09 04:37:02 +04:00
|
|
|
module FileManager {
|
|
|
|
exception POSIX_ERROR { string errorstr; };
|
1998-12-03 02:44:06 +03:00
|
|
|
|
1999-09-09 04:37:02 +04:00
|
|
|
interface Desktop {
|
2000-01-25 13:30:53 +03:00
|
|
|
enum ArrangeType {
|
|
|
|
BY_NAME,
|
|
|
|
BY_TYPE,
|
|
|
|
BY_SIZE,
|
|
|
|
BY_ATIME,
|
|
|
|
BY_MTIME,
|
|
|
|
BY_CTIME
|
|
|
|
};
|
|
|
|
|
1999-09-09 04:37:02 +04:00
|
|
|
void rescan ();
|
|
|
|
void rescan_devices ();
|
2000-01-25 13:30:53 +03:00
|
|
|
void arrange_icons (in ArrangeType type);
|
1999-09-09 04:37:02 +04:00
|
|
|
};
|
1998-12-03 19:10:25 +03:00
|
|
|
|
1999-09-09 04:37:02 +04:00
|
|
|
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);
|
|
|
|
};
|
|
|
|
};
|
1998-12-03 02:44:06 +03:00
|
|
|
};
|