"Fossies" - the Fresh Open Source Software Archive

Member "evolution-mapi-3.46.1/src/configuration/e-mail-config-mapi-page.h" (2 Dec 2022, 2480 Bytes) of package /linux/misc/evolution-mapi-3.46.1.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "e-mail-config-mapi-page.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * e-mail-config-mapi-page.h
    3  *
    4  * This program is free software; you can redistribute it and/or
    5  * modify it under the terms of the GNU Lesser General Public
    6  * License as published by the Free Software Foundation; either
    7  * version 2 of the License, or (at your option) version 3.
    8  *
    9  * This program is distributed in the hope that it will be useful,
   10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   12  * Lesser General Public License for more details.
   13  *
   14  * You should have received a copy of the GNU Lesser General Public
   15  * License along with the program; if not, see <http://www.gnu.org/licenses/>
   16  *
   17  */
   18 
   19 #ifndef E_MAIL_CONFIG_MAPI_PAGE_H
   20 #define E_MAIL_CONFIG_MAPI_PAGE_H
   21 
   22 #include <gtk/gtk.h>
   23 #include <libedataserver/libedataserver.h>
   24 
   25 #include <mail/e-mail-config-page.h>
   26 
   27 /* Standard GObject macros */
   28 #define E_TYPE_MAIL_CONFIG_MAPI_PAGE \
   29     (e_mail_config_mapi_page_get_type ())
   30 #define E_MAIL_CONFIG_MAPI_PAGE(obj) \
   31     (G_TYPE_CHECK_INSTANCE_CAST \
   32     ((obj), E_TYPE_MAIL_CONFIG_MAPI_PAGE, EMailConfigMapiPage))
   33 #define E_MAIL_CONFIG_MAPI_PAGE_CLASS(cls) \
   34     (G_TYPE_CHECK_CLASS_CAST \
   35     ((cls), E_TYPE_MAIL_CONFIG_MAPI_PAGE, EMailConfigMapiPageClass))
   36 #define E_IS_MAIL_CONFIG_MAPI_PAGE(obj) \
   37     (G_TYPE_CHECK_INSTANCE_TYPE \
   38     ((obj), E_TYPE_MAIL_CONFIG_MAPI_PAGE))
   39 #define E_IS_MAIL_CONFIG_MAPI_PAGE_CLASS(cls) \
   40     (G_TYPE_CHECK_CLASS_TYPE \
   41     ((cls), E_TYPE_MAIL_CONFIG_MAPI_PAGE))
   42 #define E_MAIL_CONFIG_MAPI_PAGE_GET_CLASS(obj) \
   43     (G_TYPE_INSTANCE_GET_CLASS \
   44     ((obj), E_TYPE_MAIL_CONFIG_MAPI_PAGE, EMailConfigMapiPage))
   45 
   46 G_BEGIN_DECLS
   47 
   48 typedef struct _EMailConfigMapiPage EMailConfigMapiPage;
   49 typedef struct _EMailConfigMapiPageClass EMailConfigMapiPageClass;
   50 typedef struct _EMailConfigMapiPagePrivate EMailConfigMapiPagePrivate;
   51 
   52 struct _EMailConfigMapiPage {
   53     GtkScrolledWindow parent;
   54     EMailConfigMapiPagePrivate *priv;
   55 };
   56 
   57 struct _EMailConfigMapiPageClass {
   58     GtkScrolledWindowClass parent_class;
   59 };
   60 
   61 GType           e_mail_config_mapi_page_get_type        (void) G_GNUC_CONST;
   62 void            e_mail_config_mapi_page_type_register       (GTypeModule *type_module);
   63 EMailConfigPage *   e_mail_config_mapi_page_new         (ESource *account_source,
   64                                      ESourceRegistry *registry);
   65 
   66 ESource *       e_mail_config_mapi_page_get_account_source  (EMailConfigMapiPage *page);
   67 ESourceRegistry *   e_mail_config_mapi_page_get_source_registry (EMailConfigMapiPage *page);
   68 
   69 G_END_DECLS
   70 
   71 #endif /* E_MAIL_CONFIG_MAPI_PAGE_H */