diff options
author | Stefano Karapetsas <[email protected]> | 2013-02-23 22:02:09 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-02-23 22:02:09 +0100 |
commit | d1715e4fdef385cea4eda116090311dcff9fcd18 (patch) | |
tree | 1c86cab85e0e254924edb953560cac3a94626521 /src/caja-freedesktop-dbus.h | |
parent | e99cd96502845cce688ee4f545eb4a4f2edfb23a (diff) | |
download | caja-d1715e4fdef385cea4eda116090311dcff9fcd18.tar.bz2 caja-d1715e4fdef385cea4eda116090311dcff9fcd18.tar.xz |
Add support for freedesktop.org File Manager DBus Interface
http://www.freedesktop.org/wiki/Specifications/file-manager-interface
Most of code is adapted from Nautilus:
http://git.gnome.org/browse/nautilus/tree/src/nautilus-freedesktop-dbus.c
Closes https://github.com/mate-desktop/mate-file-manager/issues/3
Diffstat (limited to 'src/caja-freedesktop-dbus.h')
-rw-r--r-- | src/caja-freedesktop-dbus.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/caja-freedesktop-dbus.h b/src/caja-freedesktop-dbus.h new file mode 100644 index 00000000..a3ac1504 --- /dev/null +++ b/src/caja-freedesktop-dbus.h @@ -0,0 +1,42 @@ +/* + * caja-freedesktop-dbus: Implementation for the org.freedesktop DBus file-management interfaces + * + * Caja is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * Caja is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program; if not, write to the + * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + * Boston, MA 02110-1301, USA. + * + * Authors: Akshay Gupta <[email protected]> + * Federico Mena Quintero <[email protected]> + * Stefano Karapetsas <[email protected]> + */ + + +#ifndef __CAJA_FREEDESKTOP_DBUS_H__ +#define __CAJA_FREEDESKTOP_DBUS_H__ + +#include <glib-object.h> + +#include "caja-application.h" + +#define CAJA_FDO_DBUS_IFACE "org.freedesktop.FileManager1" +#define CAJA_FDO_DBUS_NAME "org.freedesktop.FileManager1" +#define CAJA_FDO_DBUS_PATH "/org/freedesktop/FileManager1" + +typedef struct _CajaFreedesktopDBus CajaFreedesktopDBus; +typedef struct _CajaFreedesktopDBusClass CajaFreedesktopDBusClass; + +GType caja_freedesktop_dbus_get_type (void); +CajaFreedesktopDBus * caja_freedesktop_dbus_new (CajaApplication *application); + +#endif /* __CAJA_FREEDESKTOP_DBUS_H__ */ |