README: add deprecation notice
[nautilus-actions.git] / src / api / fma-fm-defines.h
blob7c2a27b768ef9d9e5785c9f3872fdb11c2559457
1 /*
2 * FileManager-Actions
3 * A file-manager extension which offers configurable context menu pivots.
5 * Copyright (C) 2005 The GNOME Foundation
6 * Copyright (C) 2006-2008 Frederic Ruaudel and others (see AUTHORS)
7 * Copyright (C) 2009-2015 Pierre Wieser and others (see AUTHORS)
9 * FileManager-Actions is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
14 * FileManager-Actions is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with FileManager-Actions; see the file COPYING. If not, see
21 * <http://www.gnu.org/licenses/>.
23 * Authors:
24 * Frederic Ruaudel <grumz@grumz.net>
25 * Rodrigo Moya <rodrigo@gnome-db.org>
26 * Pierre Wieser <pwieser@trychlos.org>
27 * ... and many others (see AUTHORS)
30 #ifndef __FILEMANAGER_ACTIONS_API_FM_DEFINES_H__
31 #define __FILEMANAGER_ACTIONS_API_FM_DEFINES_H__
33 /* @title: FMDefines
34 * @short_description: Definitions suitable for file-managers
35 * @include: filemanager-actions/fma-fm-defines.h
38 #if FMA_TARGET_ID == NAUTILUS_ID
39 #include <libnautilus-extension/nautilus-extension-types.h>
40 #include <libnautilus-extension/nautilus-menu-provider.h>
41 #include <libnautilus-extension/nautilus-file-info.h>
42 #elif FMA_TARGET_ID == NEMO_ID
43 #include <libnemo-extension/nemo-extension-types.h>
44 #include <libnemo-extension/nemo-menu-provider.h>
45 #include <libnemo-extension/nemo-file-info.h>
46 #elif FMA_TARGET_ID == CAJA_ID
47 #include <libcaja-extension/caja-extension-types.h>
48 #include <libcaja-extension/caja-menu-provider.h>
49 #include <libcaja-extension/caja-file-info.h>
50 #endif
52 G_BEGIN_DECLS
54 #if FMA_TARGET_ID == NAUTILUS_ID
55 #define FILE_MANAGER_TYPE_MENU_PROVIDER NAUTILUS_TYPE_MENU_PROVIDER
56 #define FILE_MANAGER_MENU_PROVIDER NAUTILUS_MENU_PROVIDER
57 #define FILE_MANAGER_IS_MENU NAUTILUS_IS_MENU
58 #define FILE_MANAGER_MENU_ITEM NAUTILUS_MENU_ITEM
59 #define FILE_MANAGER_FILE_INFO NAUTILUS_FILE_INFO
60 #define FileManagerMenuProviderIface NautilusMenuProviderIface
61 #define FileManagerMenuProvider NautilusMenuProvider
62 #define FileManagerMenuItem NautilusMenuItem
63 #define FileManagerMenu NautilusMenu
64 #define FileManagerFileInfo NautilusFileInfo
65 #define file_manager_menu_new nautilus_menu_new
66 #define file_manager_menu_append_item nautilus_menu_append_item
67 #define file_manager_menu_item_new nautilus_menu_item_new
68 #define file_manager_menu_item_set_submenu nautilus_menu_item_set_submenu
69 #define file_manager_menu_item_list_free nautilus_menu_item_list_free
70 #define file_manager_file_info_get_uri nautilus_file_info_get_uri
71 #define file_manager_file_info_get_mime_type nautilus_file_info_get_mime_type
72 #define file_manager_file_info_list_copy nautilus_file_info_list_copy
73 #define file_manager_file_info_list_free nautilus_file_info_list_free
74 #define file_manager_menu_provider_emit_items_updated_signal nautilus_menu_provider_emit_items_updated_signal
75 #elif FMA_TARGET_ID == NEMO_ID
76 #define FILE_MANAGER_TYPE_MENU_PROVIDER NEMO_TYPE_MENU_PROVIDER
77 #define FILE_MANAGER_MENU_PROVIDER NEMO_MENU_PROVIDER
78 #define FILE_MANAGER_IS_MENU NEMO_IS_MENU
79 #define FILE_MANAGER_MENU_ITEM NEMO_MENU_ITEM
80 #define FILE_MANAGER_FILE_INFO NEMO_FILE_INFO
81 #define FileManagerMenuProviderIface NemoMenuProviderIface
82 #define FileManagerMenuProvider NemoMenuProvider
83 #define FileManagerMenuItem NemoMenuItem
84 #define FileManagerMenu NemoMenu
85 #define FileManagerFileInfo NemoFileInfo
86 #define file_manager_menu_new nemo_menu_new
87 #define file_manager_menu_append_item nemo_menu_append_item
88 #define file_manager_menu_item_new nemo_menu_item_new
89 #define file_manager_menu_item_set_submenu nemo_menu_item_set_submenu
90 #define file_manager_menu_item_list_free nemo_menu_item_list_free
91 #define file_manager_file_info_get_uri nemo_file_info_get_uri
92 #define file_manager_file_info_get_mime_type nemo_file_info_get_mime_type
93 #define file_manager_file_info_list_copy nemo_file_info_list_copy
94 #define file_manager_file_info_list_free nemo_file_info_list_free
95 #define file_manager_menu_provider_emit_items_updated_signal nemo_menu_provider_emit_items_updated_signal
96 #elif FMA_TARGET_ID == CAJA_ID
97 #define FILE_MANAGER_TYPE_MENU_PROVIDER CAJA_TYPE_MENU_PROVIDER
98 #define FILE_MANAGER_MENU_PROVIDER CAJA_MENU_PROVIDER
99 #define FILE_MANAGER_IS_MENU CAJA_IS_MENU
100 #define FILE_MANAGER_MENU_ITEM CAJA_MENU_ITEM
101 #define FILE_MANAGER_FILE_INFO CAJA_FILE_INFO
102 #define FileManagerMenuProviderIface CajaMenuProviderIface
103 #define FileManagerMenuProvider CajaMenuProvider
104 #define FileManagerMenuItem CajaMenuItem
105 #define FileManagerMenu CajaMenu
106 #define FileManagerFileInfo CajaFileInfo
107 #define file_manager_menu_new caja_menu_new
108 #define file_manager_menu_append_item caja_menu_append_item
109 #define file_manager_menu_item_new caja_menu_item_new
110 #define file_manager_menu_item_set_submenu caja_menu_item_set_submenu
111 #define file_manager_menu_item_list_free caja_menu_item_list_free
112 #define file_manager_file_info_get_uri caja_file_info_get_uri
113 #define file_manager_file_info_get_mime_type caja_file_info_get_mime_type
114 #define file_manager_file_info_list_copy caja_file_info_list_copy
115 #define file_manager_file_info_list_free caja_file_info_list_free
116 #define file_manager_menu_provider_emit_items_updated_signal caja_menu_provider_emit_items_updated_signal
117 #endif
119 G_END_DECLS
121 #endif /* __FILEMANAGER_ACTIONS_API_FM_DEFINES_H__ */