aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-info.h
blob: e9916312840ce48357bf7b01616a6ee2c1ed49ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* e-component-info.h - Load/save information about Evolution components.
 *
 * Copyright (C) 2002 Ximian, Inc.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of version 2 of the GNU General Public
 * License as published by the Free Software Foundation.
 *
 * This program 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., 59 Temple Place - Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * Author: Ettore Perazzoli <ettore@ximian.com>
 */

#ifndef E_COMPONENT_INFO_H
#define E_COMPONENT_INFO_H

#include <glib.h>

struct _EComponentInfoFolderType {
    char *name;
    char *icon_file_name;
    char *display_name;
    char *description;

    GSList *accepted_dnd_types; /* <char *> */
    GSList *exported_dnd_types; /* <char *> */

    unsigned int is_user_creatable : 1;
};
typedef struct _EComponentInfoFolderType EComponentInfoFolderType;

struct _EComponentInfoUserCreatableItemType {
    char *id;
    char *description;
    char *icon_file_name;

    char *menu_description;
    char *menu_shortcut;
};
typedef struct _EComponentInfoUserCreatableItemType EComponentInfoUserCreatableItemType;

struct _EComponentInfo {
    char *id;
    char *description;
    char *icon_file_name;

    GSList *folder_types;           /* <EComponentInfoFolderType> */
    GSList *uri_schemas;            /* <char *> */
    GSList *user_creatable_item_types;  /* <EComponentInfoUserCreatableItemType> */
};
typedef struct _EComponentInfo EComponentInfo;


EComponentInfo *e_component_info_load  (const char     *file_name);
void            e_component_info_free  (EComponentInfo *info);

#endif /* E_COMPONENT_INFO_H */
/freebsd-ports-gnome/commit/russian/wordpress?h=gnome-3.28&id=e1a49b54e5c76bd047bae4812d3f9421daf6d92c'>Update to 4.2.4flo2015-08-072-3/+3 * - Update to 4.2.3sunpoet2015-07-242-3/+4 * - Use DISTVERSIONSUFFIX instead of DISTNAMEsunpoet2015-06-281-1/+1 * Update ru-wordpress to 4.2.2.kwm2015-05-072-3/+3 * - Update to 4.2.1sunpoet2015-04-292-3/+3 * - Update to 4.2sunpoet2015-04-272-3/+3 * russian/wordpress: update 4.1.1 -> 4.1.2robak2015-04-232-3/+3 * russian/wordpress: update 4.1 -> 4.1.1robak2015-03-132-3/+3 * - Update to 4.1wen2014-12-212-4/+3 * Upgrade to 4.0.1.vanilla2014-11-222-4/+4 * Cleanup plistantoine2014-11-121-1/+1 * Add missing dependencies and CPE data.des2014-10-151-1/+8 * - Update to 4.0sunpoet2014-09-062-3/+3 * russian/wordpress: update to 3.9.2wg2014-08-092-3/+3 * - Update to 3.9.1sunpoet2014-05-202-3/+3 * - Update to 3.9sunpoet2014-04-273-25/+12 * - Update to 3.8.2sunpoet2014-04-132-5/+3 * - Stage supportmiwi2014-02-181-8/+4 * - Update to 3.8.1sunpoet2014-02-042-3/+3 * - Update to 3.8sunpoet2013-12-272-3/+3 * - Update to 3.7.1vg2013-11-122-3/+3 * - Update to 3.7sunpoet2013-10-262-3/+3 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1 * - Update to 3.6.1sunpoet2013-09-122-5/+4 * - Update to 3.6wen2013-08-062-3/+3 * - Update to 3.5.2miwi2013-07-112-3/+3 * - Fix all cases of 'No newline at end of file' in ports treeak2013-02-011-1/+1 * Update to 3.5.1. While I'm there, also change russian to use gzipped tarball,delphij2013-01-303-8/+27 * - update russian [1], chinese_zh_TW [2] and chinese_zh_CN [3]rm2012-12-173-13/+7 * - Update to 3.4.2swills2012-09-092-3/+3 * - Update to 3.4.1sunpoet2012-06-292-3/+3 * - Update to 3.4sunpoet2012-06-172-6/+6 * - Update to 3.3.2sunpoet2012-04-222-3/+3