aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-config.h
blob: 0ccc40ba16a9744990c0d68c37d81be67d8dbbf0 (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
86
87
88
89
90
91
92
93
94
/*
 * Authors: David Trowbridge <trowbrds@cs.colorado.edu>
 *
 * Copyright (C) 2004 Novell, Inc (www.novell.com)
 *
 * 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.
 *
 */

#ifndef __E_CAL_CONFIG_H__
#define __E_CAL_CONFIG_H__

#include <glib-object.h>

#include <libecal/e-cal.h>
#include "e-util/e-config.h"

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

typedef struct _ECalConfig ECalConfig;
typedef struct _ECalConfigClass ECalConfigClass;

struct _ECalConfig {
    EConfig config;
};

struct _ECalConfigClass {
    EConfigClass config_class;
};

enum _e_cal_config_target_t {
    EC_CONFIG_TARGET_SOURCE,
    EC_CONFIG_TARGET_PREFS,
};

typedef struct _ECalConfigTargetSource ECalConfigTargetSource;
typedef struct _ECalConfigTargetPrefs ECalConfigTargetPrefs;

struct _ECalConfigTargetSource {
    EConfigTarget target;

    struct _ESource *source;
        ECalSourceType source_type;
};

struct _ECalConfigTargetPrefs {
    EConfigTarget target;

    struct _GConfClient *gconf;
};

typedef struct _EConfigItem ECalConfigItem;

GType e_cal_config_get_type (void);
ECalConfig *e_cal_config_new (int type, const char *menuid);

ECalConfigTargetSource *e_cal_config_target_new_source (ECalConfig *ecp, struct _ESource *source);
ECalConfigTargetPrefs *e_cal_config_target_new_prefs (ECalConfig *ecp, struct _GConfClient *gconf);

/* ********************************************************************** */

typedef struct _ECalConfigHook ECalConfigHook;
typedef struct _ECalConfigHookClass ECalConfigHookClass;

struct _ECalConfigHook {
    EConfigHook hook;
};

struct _ECalConfigHookClass {
    EConfigHookClass hook_class;
};

GType e_cal_config_hook_get_type (void);

#ifdef __cplusplus
}
#endif

#endif
'>-9/+9 * Document bsd.perl.mk and related changes.linimon2007-09-091-0/+16 * - Extract command variable definitions from bsd.port.mk, they are now stored ingabor2007-08-041-0/+16 * - Make Python 2.5.1 the default Python versionalexbl2007-07-301-0/+13 * - CONFIGURE_ARGS is changed to have --mandir and --infodir when theyrafan2007-07-241-0/+6 * Add USE_FORTRAN knob. All ports that use FORTRAN shouldmaho2007-07-121-0/+8 * - Introduce kld categorypav2007-07-011-0/+7 * Some spelling and markup nits.danfe2007-06-191-5/+5 * s/RELENG_4_EOL/RELEASE_4_EOL/. I probably typed the former because it wouldlinimon2007-06-031-1/+1 * * Make 'make-deinstall-all' check for moved ports. [1]linimon2007-05-251-0/+22 * Belatedly add the 20070313 entry, which was a minor change (add bsd.ocaml.mk;linimon2007-04-261-0/+9 * - Talk about porter's visible 2007/04/03 changespav2007-04-031-0/+16 * [1] Introduce COPYTREE_BIN and COPYTREE_SHARE macrospav2007-03-241-0/+21 * * Refine some comments about Linux emulation [1]linimon2007-03-061-0/+11 * bsd.port.mkpav2007-01-311-1/+39 * - Grammar fixup on latest entrypav2007-01-311-3/+3 * Add an entry that asking all ports maintainers and portsmaho2007-01-181-0/+7 * Add the changes brought in by the GNOME 2.16 import.marcus2006-10-141-0/+8 * Document bsd.port.mk 1.544 and associated changes.linimon2006-10-011-0/+16 * * Add PKGVERSION to bsd.port.mk [1]linimon2006-09-151-0/+14 * The following functional changes were made to bsd.sites.mk:sat2006-09-031-0/+13 * Document bsd.sites.mk macro magicsat2006-08-051-0/+27 * Fix a typo and refrase a sentense to be less ambiguous in theerwin2006-08-041-2/+3 * Add a note for the latest patchset which adds DESTDIR support.erwin2006-08-041-2/+35 * Document the latest bsd.port.mk checkin.linimon2006-07-181-0/+12 * Add latest changes in bsd.*.mk.linimon2006-07-051-0/+22 * Belatedly add the description of the most recent bsd.*.mk changes.linimon2006-06-191-1/+39 * Document the subset of changes committed to bsd.port.mk that are ofkris2006-05-241-0/+33 * Drop description of PERL_(BUILD|RUN)_DEPENDS since they were removedkris2006-02-231-3/+0 * Another round of markup and spelling nits.danfe2006-01-271-15/+15 * - Announce 20060121 infrastructure changespav2006-01-221-0/+27 * Remove trailing spaces.krion2005-11-131-2/+2 * * Add bsd.database.mk [1]clement2005-11-081-0/+46 * Add new GNOME 2.12. porting changes.marcus2005-11-051-0/+21 * Mega-patch to cleanup the ports infrastructure regarding our linux bits:netchild2005-06-181-0/+16 * Add notes about changes introduced in bsd.port.mk rev. 1.512krion2005-06-101-1/+39 * Add an entry for the CVSup "refuse" file bug fix.jdp2005-03-271-0/+11 * Add an entry for the recent gstreamer-plugin-gconf split.kwm2005-03-211-0/+6 * Add an entry for the recent bsd.gnome.mk changes.marcus2005-03-201-0/+11 * Add information about IGNORE_MASTER_SITE_xxxedwin2005-03-141-0/+18 * - Add note about changes to gstreamer-plugins and gnomehier ports.ahze2005-03-131-0/+24 * - Don't pretend these changes were made a month agopav2005-02-091-1/+1 * Document changes committed in bsd.port.mk revision 1.508krion2005-02-071-0/+45 * Say hello to the linux mega patch, it consolidates our linux bits anetchild2005-01-011-0/+4 * Add the changes just committed.krion2004-12-101-0/+40 * Add the changes just committed.krion2004-11-191-0/+40 * 20041116:mezz2004-11-161-0/+6 * Since INDEX version in CVS is always too old, portmgr decided tokrion2004-11-131-0/+6 * Add information about GConf schema handled has been changed by use the newmezz2004-11-101-0/+6 * Move devel/autoconf->devel/autoconf253 and devel/automake->devel/automake15ade2004-08-041-0/+8 * Err, today's the 23rd, not the 21st.anholt2004-07-241-1/+1 * Add instructions for the X.Org update to UPDATING, and make the ones in CHANGESanholt2004-07-241-17/+5 * - Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,anholt2004-07-241-0/+20 * Grammar fixes.ale2004-07-201-5/+5 * Inform users and developers about the new PHP infrastructure.ale2004-07-191-0/+28 * Note that OpenLDAP version 2.2 is now the default.`eik2004-07-171-0/+10 * Document the new libtool changes.marcus2004-07-101-0/+24 * Add a blurb about the new GConf schema handling style. More details aremarcus2004-07-081-0/+8 * USE_SIZE author was trevor, not erwin as I mentioned.krion2004-07-061-1/+1 * Introduce new AUTHOR: line.krion2004-07-061-1/+15 * Document the user-relevant changes just committed.kris2004-06-101-1/+100 * Information regarding the great autotools update of July 4 2004ade2004-06-051-0/+51 * . Add some information regarding the latest changes to bsd.java.mkglewis2004-04-201-0/+24 * Augment Trevor's GNOME instructions by linking to the GNOME porting guide.marcus2004-04-151-0/+4 * Mention USE_GNOME=gtk20 (gleaned from marcus' commits to the nogger, gringotts,trevor2004-04-151-0/+5 * Correct the name of one of the _DEPRECATED macros.marcus2004-04-091-1/+1 * Let other porters know about the recent changes in glib20/gtk20 with regard tomarcus2004-04-091-0/+16 * . Document the bsd.java.mk update.glewis2004-04-041-2/+63 * Add instructions for fixing portability issues with the new freetype2.marcus2004-03-171-0/+15 * Add detail about recent autotools changes.ade2004-03-151-0/+12 * semi-document MASTER_SITE_SOURCEFORGE_EXTENDEDeik2004-03-091-0/+9 * Reorganize the information about the ruby upgrade to 1.8 on i386.knu2004-03-031-34/+2 * Add notes about ruby's major upgrade to 1.8 on the i386 platform.knu2004-03-031-0/+44 * Mozilla will now default to using GTK2, and will only compileadamw2004-02-181-0/+34 * Add the latest round of bsd.*.mk changes.marcus2004-02-041-0/+152 * Replace spaces by taberwin2004-02-011-1/+1 * Add entry about USE_SIZEerwin2004-01-291-0/+9