aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-folder-mail.c
blob: 9765b7d946249179b7bb6fca6a6662b73e166fc8 (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
/*
 * e-folder-mail.c: Mail folder
 *
 * Author:
 *   Miguel de Icaza (miguel@helixcode.com)
 *
 * (C) 2000 Helix Code, Inc.
 */
#include <config.h>
#include <glib.h>
#include <libgnome/gnome-defs.h>
#include <libgnome/gnome-i18n.h>
#include "e-util/e-util.h"
#include "e-folder-mail.h"

#define PARENT_TYPE e_folder_get_type ()

static void
e_folder_mail_init (GtkObject *object)
{
}

E_MAKE_TYPE (e_folder_mail, "EFolderMail", EFolderMail, e_folder_mail_class_init, e_folder_mail_init, PARENT_TYPE)

EFolder *
e_folder_mail_new (const char *uri, const char *name, const char *desc,
           const char *home_page, const char *view_name)
{
    EFolderMail *efm = gtk_type_new (e_folder_mail_get_type ());

    e_folder_construct (E_FOLDER (efm), E_FOLDER_MAIL, uri, name, desc, home_page, view_name);

    return E_FOLDER (efm);
}