aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-local-folder.h
blob: b41e0608abf435d78046e04c6dcdfeba3a1c1b55 (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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* e-local-folder.h
 *
 * Copyright (C) 2000, 2001 Ximian, Inc.
 *
 * This program 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.
 *
 * 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
 */

#ifndef _E_LOCAL_FOLDER_H_
#define _E_LOCAL_FOLDER_H_

#include <gtk/gtkobject.h>

#include "e-folder.h"

#ifdef __cplusplus
extern "C" {
#pragma }
#endif /* __cplusplus */

#define E_TYPE_LOCAL_FOLDER     (e_local_folder_get_type ())
#define E_LOCAL_FOLDER(obj)     (GTK_CHECK_CAST ((obj), E_TYPE_LOCAL_FOLDER, ELocalFolder))
#define E_LOCAL_FOLDER_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_LOCAL_FOLDER, ELocalFolderClass))
#define E_IS_LOCAL_FOLDER(obj)      (GTK_CHECK_TYPE ((obj), E_TYPE_LOCAL_FOLDER))
#define E_IS_LOCAL_FOLDER_CLASS(klass)  (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_LOCAL_FOLDER))

#define E_LOCAL_FOLDER_METADATA_FILE_NAME     "folder-metadata.xml"
#define E_LOCAL_FOLDER_METADATA_FILE_NAME_LEN 19

typedef struct _ELocalFolder        ELocalFolder;
typedef struct _ELocalFolderClass   ELocalFolderClass;
typedef struct _ELocalFolderPrivate ELocalFolderPrivate;

struct _ELocalFolder {
    EFolder parent;

    ELocalFolderPrivate *priv;
};

struct _ELocalFolderClass {
    EFolderClass parent_class;
};


GtkType   e_local_folder_get_type       (void);
void      e_local_folder_construct      (ELocalFolder  *local_folder,
                     const char    *name,
                     const char    *type,
                     const char    *description);
EFolder  *e_local_folder_new            (const char    *name,
                     const char    *type,
                     const char    *description);
EFolder  *e_local_folder_new_from_path  (const char    *physical_path);
gboolean  e_local_folder_save           (ELocalFolder  *local_folder);

void      e_local_folder_add_i18n_info  (ELocalFolder  *local_folder,
                     const char    *language_id,
                     const char    *name,
                     const char    *description);
gboolean  e_local_folder_get_i18n_info  (ELocalFolder  *local_folder,
                     const char    *language_id,
                     const char   **language_id_return,
                     const char   **name_return,
                     const char   **description_return);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __E_LOCAL_FOLDER_H__ */
freebsd-ports-gnome/commit/print?h=dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8&id=de7a98fa4e2c5f68169d3ba4eab2891943b767a8'>Sprinkle more USES=xorgzeising2019-11-081-0/+1 * Add USES=xorg USES=gl, ports categories pzeising2019-11-0723-22/+24 * Update `print/pslib' to version 0.4.6.danfe2019-11-073-9/+9 * Mark a few ports BROKEN (unfetchable)antoine2019-11-067-0/+14 * Returns johans's ports to the pool after safekeeping his commit bit.rene2019-11-052-2/+2 * Update to 1.19.8sunpoet2019-11-052-4/+4 * Update texi2dvisunpoet2019-11-042-4/+5 * print/hplip: Update to 3.19.10woodsb022019-11-0414-49/+403 * Cosmetic changesunpoet2019-11-041-2/+3 * Update version requirement of RUN_DEPENDSsunpoet2019-11-041-2/+2 * Cosmetic changesunpoet2019-11-041-2/+3 * print/hplip and print/hplip-plugin: Update to 3.18.6woodsb022019-11-035-10/+37 * print/gtklp: Update to 1.3.3tcberner2019-11-033-10/+11 * graphics/poppler: update to 0.82.0tcberner2019-11-0213-8/+62 * - Update to 0.17tota2019-11-012-4/+4 * print/pdf-tools: Include portclippy/portfmt formatting suggestionsjrm2019-11-011-4/+5 * print/pdf-tools: Update to 0.90.34jrm2019-11-012-5/+5 * print/harfbuzz: update to 2.6.4jbeich2019-10-312-5/+5 * print/harfbuzz: update to 2.6.3jbeich2019-10-293-6/+6 * Fix build with NLS disabledsunpoet2019-10-272-0/+24 * Update to 6.7sunpoet2019-10-263-11/+9 * print/xfce4-print: fix build on GCC architecturespkubaj2019-10-251-2/+2 * print/utopia : Update MAINTAINER, MASTER_SITESdmgk2019-10-201-6/+2 * Switch MASTER_SITES and WWW to https in Chris' ports.rakuco2019-10-192-2/+2 * Remove expired ports:rene2019-10-165-53/+0 * print/a2pdf : Update MAINTAINERdmgk2019-10-161-1/+1 * KDE Applications: update to 19.08.2tcberner2019-10-161-3/+3 * Update to 1.25.11.tijl2019-10-152-4/+4 * Update qpdfview to 0.4.18madpilot2019-10-102-5/+4 * Drop nop NO_FETCH, NO_WRKSRC, NO_MAN, NOMANtobik2019-10-094-4/+0 * Update to 1.25.7.tijl2019-10-083-32/+4 * Simplify the dependencies for print/py-fonttools, and enable optionsmat2019-10-0719-229/+32 * rename most cases of jakarta- to apache-pfg2019-10-071-2/+3 * devel/icu: update to 65.1jbeich2019-10-045-5/+5 * Update RUN_DEPENDS: use py-fonttools extra featuressunpoet2019-10-041-2/+3 * Change the way for optional dependenciessunpoet2019-10-021-27/+14 * Add py-fonttools-woff 3.44.0sunpoet2019-10-023-0/+26 * Add py-fonttools-unicode 3.44.0sunpoet2019-10-023-0/+29 * Add py-fonttools-ufo 3.44.0sunpoet2019-10-023-0/+26 * Add py-fonttools-symfont 3.44.0sunpoet2019-10-023-0/+25 * Add py-fonttools-plot 3.44.0sunpoet2019-10-023-0/+25 * Add py-fonttools-lxml 3.44.0sunpoet2019-10-023-0/+32 * Add py-fonttools-interpolatable 3.44.0sunpoet2019-10-023-0/+26 * Add py-fonttools-graphite 3.44.0sunpoet2019-10-023-0/+25 * print/harfbuzz: update to 2.6.2jbeich2019-10-013-7/+7 * print/harfbuzz-hb-view: fix check-plistjbeich2019-10-011-0/+2 * Update to 4.1.3 release.ale2019-09-302-4/+4 * graphics/poppler: update to 0.81.0tcberner2019-09-296-6/+6 * - Update to 0.16tota2019-09-282-4/+4 * - Fix LICENSEamdmi32019-09-282-7/+7 * - Update to 1.25tota2019-09-272-5/+4 * print/xmbibtex: Remove depenency on libXpzeising2019-09-271-3/+3 * - Update to 0.15tota2019-09-262-5/+4 * Remove print/py-fonttools-lxml-ufosunpoet2019-09-262-12/+0 * Update to 1.25.6.tijl2019-09-254-12/+11 * Update to CentOS 7.7.1908.tijl2019-09-214-17/+18 * Welcome XFCE 4.14 to the FreeBSD ports treemadpilot2019-09-201-6/+4 * print/fontforge: Fix timeout without GUIzeising2019-09-192-1/+26 * Deprecate a few portsantoine2019-09-162-0/+4 * print/fontforge: fix build on GCC architecturespkubaj2019-09-151-1/+1 * Update texi2dvi and texinfo.texsunpoet2019-09-141-1/+1 * Update texi2dvi and texinfo.texsunpoet2019-09-142-7/+7 * print/epson-inkjet-printer-escpr: Update to 1.7.3swills2019-09-1311-42/+49 * Fix texinfo playing with unicode variablesbapt2019-09-131-1/+2 * Update to 1.25.5.tijl2019-09-112-4/+4 * - Update to 20190909danilo2019-09-103-4/+336 * - Update to 2.0.2danilo2019-09-102-4/+4 * print/lilypond: Fix configurezeising2019-09-102-3/+17 * print/lilypond-devel: Fix configurezeising2019-09-102-7/+20 * Belatedly bump revision of graphics/libspiro consumerstobik2019-09-091-0/+1 * Mark BROKENantoine2019-09-082-0/+4 * Mark BROKENantoine2019-09-081-0/+2 * print/fontforge: Update to 20190801zeising2019-09-078-239/+167 * KDE Applications: update to 19.08.1tcberner2019-09-062-3/+5 * Update to 1.25.4.tijl2019-09-052-4/+4 * - Update to 9.0.0wen2019-09-034-13/+13 * graphics/poppler: update to 0.80.0tcberner2019-09-026-6/+6 * Bump PORTREVISION for ports using EMACS_VERSION_SITE_LISPDIRjrm2019-09-011-1/+1 * fix DOCS=off buildcmt2019-08-301-1/+1 * Update to 2.2.1antoine2019-08-282-4/+4 * update gutenprint to 5.3.3cmt2019-08-289-350/+7572 * Move security/linux-c7-openssl into emulators/linux_base-c7. It is neededtijl2019-08-251-2/+2 * Fix typo in port directory name.kwm2019-08-252-0/+0 * Remove the hb-view utitilty from the main harfbuzz port and move it to it'skwm2019-08-246-7/+87 * print/harfbuzz: update to 2.6.1jbeich2019-08-232-5/+5 * Update to 1.25.3.tijl2019-08-222-4/+4 * Update to 1.25.2.tijl2019-08-212-5/+4 * devel/boost-*: update to 1.71.0jbeich2019-08-195-4/+5 * Update to 2.2.12.tijl2019-08-162-4/+4 * print/scribus-devel: update to 1.5.5pkubaj2019-08-1610-1457/+398 * Update KDE Applications to latest upstream release, 19.08adridg2019-08-152-4/+3 * Convert to UCL & cleanup pkg-message (categories [p-r])mat2019-08-1419-41/+145 * print/harfbuzz: update to 2.6.0jbeich2019-08-144-11/+20 * Temporarily disable the DOCS option on powerpc64.linimon2019-08-101-0/+3 * Reset MAINTAINER of Stefan Hagen's portstobik2019-08-081-1/+1 * Update texi2dvi and texinfo.texsunpoet2019-08-082-8/+8 * Mark BROKEN: unfetchableantoine2019-08-05