aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.h
blob: dd408f40dd802328a6affe4d933a30b87703efc5 (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
#ifndef E_SHELL_H
#define E_SHELL_H

#include <bonobo/gnome-object.h>

#define E_SHELL_GOAD_ID         "GOADID:GNOME:Evolution:Shell:1.0"
#define E_SHELL_FACTORY_GOAD_ID "GOADID:GNOME:Evolution:ShellFactory:1.0"

#define E_SHELL_TYPE        (e_shell_get_type ())
#define E_SHELL(o)          (GTK_CHECK_CAST ((o), E_SHELL_TYPE, EShell))
#define E_SHELL_CLASS(k)    (GTK_CHECK_CLASS_CAST((k), E_SHELL_TYPE, EShellClass))
#define E_IS_SHELL(o)       (GTK_CHECK_TYPE ((o), E_SHELL_TYPE))
#define E_IS_SHELL_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_SHELL_TYPE))

typedef struct {
    GnomeObject base_object;

    char *base_uri;
} EShell;

typedef struct {
    GnomeObjectClass *parent_class;
} EShellClass;

EShell     *e_shell_new          (const char *base_uri);
void        e_shell_set_base_uri (EShell *eshell, const char *base_uri);
const char *e_shell_get_base_uri (EShell *eshell);

#endif /* EVOLUTION_SHELL_H */