aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-wizard.h
blob: 617d7bb3a58e50cc2bb52b98e447633898d01f5a (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
/*
 * evolution-wizard.h
 *
 * Copyright (C) 2001 Ximian, Inc.
 *
 * Authors: Iain Holmes  <iain@ximian.com>
 */

#ifndef __EVOLUTION_WIZARD_H__
#define __EVOLUTION_WIZARD_H__

#include <bonobo/bonobo-control.h>
#include <bonobo/bonobo-event-source.h>

#include <Evolution.h>

BEGIN_GNOME_DECLS

typedef struct _EvolutionWizard EvolutionWizard;
typedef struct _EvolutionWizardPrivate EvolutionWizardPrivate;

#define EVOLUTION_WIZARD_SET_PAGE "GNOME::Evolution::Wizard_setPage"
#define EVOLUTION_WIZARD_SET_SHOW_FINISH "GNOME::Evolution::Wizard_setShowFinish"
#define EVOLUTION_WIZARD_SET_BUTTONS_SENSITIVE "GNOME::Evolution::Wizard_setButtonsSensitive"

#define EVOLUTION_WIZARD_TYPE (evolution_wizard_get_type ())
#define EVOLUTION_WIZARD(o) (GTK_CHECK_CAST ((o), EVOLUTION_WIZARD_TYPE, EvolutionWizard))
#define EVOLUTION_WIZARD_CLASS(k) (GTK_CHECK_CLASS_CAST((k), EVOLUTION_WIZARD_TYPE, EvolutionWizardClass))
#define IS_EVOLUTION_WIZARD(o) (GTK_CHECK_TYPE ((o), EVOLUTION_WIZARD_TYPE))
#define IS_EVOLUTION_WIZARD_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), EVOLUTION_WIZARD_TYPE))

typedef BonoboControl *(* EvolutionWizardGetControlFn) (EvolutionWizard *wizard,
                            int page_number,
                            void *closure);

struct _EvolutionWizard {
    BonoboXObject object;

    EvolutionWizardPrivate *priv;
};

typedef struct {
    BonoboXObjectClass parent_class;

    POA_GNOME_Evolution_Wizard__epv epv;

    void (* next) (EvolutionWizard *wizard, int page_number);
    void (* prepare) (EvolutionWizard *wizard, int page_number);
    void (* back) (EvolutionWizard *wizard, int page_number);
    void (* finish) (EvolutionWizard *wizard, int page_number);
    void (* cancel) (EvolutionWizard *wizard, int page_number);
    void (* help) (EvolutionWizard *wizard, int page_number);
} EvolutionWizardClass;

GtkType evolution_wizard_get_type (void);

EvolutionWizard *evolution_wizard_construct (EvolutionWizard *wizard,
                         BonoboEventSource *event_source,
                         EvolutionWizardGetControlFn get_fn,
                         int num_pages,
                         void *closure);
EvolutionWizard *evolution_wizard_new_full (EvolutionWizardGetControlFn get_fn,
                        int num_pages,
                        BonoboEventSource *event_source,
                        void *closure);
EvolutionWizard *evolution_wizard_new (EvolutionWizardGetControlFn get_fn,
                       int num_pages,
                       void *closure);

void evolution_wizard_set_buttons_sensitive (EvolutionWizard *wizard,
                         gboolean back_sensitive,
                         gboolean next_sensitive,
                         gboolean cancel_sensitive,
                         CORBA_Environment *opt_ev);
void evolution_wizard_set_show_finish (EvolutionWizard *wizard,
                       gboolean show_finish,
                       CORBA_Environment *opt_ev);
void evolution_wizard_set_page (EvolutionWizard *wizard,
                int page_number,
                CORBA_Environment *opt_ev);

BonoboEventSource * evolution_wizard_get_event_source (EvolutionWizard *wizard);

END_GNOME_DECLS

#endif /* __EVOLUTION_WIZARD_H__ */
e='2004-04-16 05:17:26 +0800'>2004-04-162-59/+5 * Log:znerd2004-04-162-57/+38 * Log:znerd2004-04-163-104/+29 * Log:znerd2004-04-162-435/+60 * Fixed LATEST_LINK. It referred to linux-blackdown-jdk13.znerd2004-04-161-1/+1 * Improved description. In fact it related to jakarta-commons-validator.znerd2004-04-161-9/+10 * . Fix the port to work with both JDK 1.3 and JDK 1.4 by using theglewis2004-04-162-164/+1 * . This port actually requires JDK 1.4 to build, JDK 1.3 won't cut it.glewis2004-04-161-1/+1 * BROKEN: Checksum mismatchkris2004-04-121-0/+2 * Add SIZE info. Reminded by: kris.linimon2004-04-111-0/+1 * Tidy up whitespace.trevor2004-04-113-4/+4 * Cram into 80 columns by 24 rows.trevor2004-04-111-17/+13 * The submitter accepted to become the maintainer.thierry2004-04-101-1/+1 * . Update to 1.1b3glewis2004-04-103-30/+21 * Add poseidon 2.2.1, a popular UML CASE tool.thierry2004-04-106-0/+1613 * add jcalendar 1.1.4ijliao2004-04-074-0/+48 * Fix build error by GNOME2.6. This is a temporary fix.nork2004-04-071-0/+1 * . Use new bsd.java.mk features [1]glewis2004-04-073-46/+23 * . Convert to the newer bsd.java.mk syntax.glewis2004-04-061-1/+3 * Chase the glib20 update, and bump all affected ports' PORTREVISIONs.marcus2004-04-057-5/+7 * Update to 2.3.3: updated to support CheckStyle 3.1; added compatibility fixlinimon2004-04-053-24/+76 * . Use MASTER_SITE_APACHE_JAKARTA, which should greatly improve theglewis2004-04-041-1/+2 * . Really fix the fallout from the bsd.java.mk update. Grrr.glewis2004-04-031-1/+1 * . Fix incompatibilities with the new bsd.java.mk (oops).glewis2004-04-033-3/+3 * utilize PORTDOCS, NOPORTDOCS, and PLIST_FILESijliao2004-04-022-51/+11 * Remove category pkg/COMMENT files in favour of a COMMENT variable in thekris2004-04-022-1/+2 * Changes for 0.41 include:linimon2004-04-012-3/+3 * Add a classpath script.des2004-04-013-3/+23 * SIZEify (maintainer timeout)trevor2004-03-3124-0/+28 * - Use USE_ICONV knobkrion2004-03-311-2/+1 * . Hopefully fix the build for JDK 1.1.glewis2004-03-291-1/+1 * Build fix for 5.x.archie2004-03-291-0/+22 * - SIZE info in distinfokrion2004-03-273-16/+10 * Fixed generation of pkg-plist.znerd2004-03-261-10/+8 * PR: ports/64602sada2004-03-253-3013/+3112 * . Update to 10.k.glewis2004-03-243-64/+28 * SIZEify.clement2004-03-224-0/+4 * SIZE-ify distinfovs2004-03-222-0/+2 * Upgrade to version 2.1.3.olgeni2004-03-212-4/+4 * Upgrade to 2.1.3.olgeni2004-03-203-1126/+1128 * SIZEfyphantom2004-03-203-0/+9 * . SIZEify.glewis2004-03-192-0/+2 * Add size data, approved by maintainers.trevor2004-03-1923-0/+24 * Add SIZE into distinfodaichi2004-03-187-0/+7 * Add SIZE into distinfodaichi2004-03-181-0/+1 * Update bouncing e-mail address for maintainer.trevor2004-03-181-1/+1 * Add size data.trevor2004-03-181-0/+1 * Build fix for 5.x.archie2004-03-181-0/+13 * SIZEify.trevor2004-03-182-0/+3 * . Try to make things non-interactive when building on bento. Works forglewis2004-03-182-2/+12 * . SIZEify.glewis2004-03-183-0/+6 * Fixed issue in installation of cacerts file.znerd2004-03-151-2/+2