"Fossies" - the Fresh Open Source Software Archive

Member "evolution-mapi-3.46.1/src/libexchangemapi/camel-mapi-settings.h" (2 Dec 2022, 3674 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 "camel-mapi-settings.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * camel-mapi-settings.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 CAMEL_MAPI_SETTINGS_H
   20 #define CAMEL_MAPI_SETTINGS_H
   21 
   22 #include <camel/camel.h>
   23 
   24 /* Standard GObject macros */
   25 #define CAMEL_TYPE_MAPI_SETTINGS \
   26     (camel_mapi_settings_get_type ())
   27 #define CAMEL_MAPI_SETTINGS(obj) \
   28     (G_TYPE_CHECK_INSTANCE_CAST \
   29     ((obj), CAMEL_TYPE_MAPI_SETTINGS, CamelMapiSettings))
   30 #define CAMEL_MAPI_SETTINGS_CLASS(cls) \
   31     (G_TYPE_CHECK_CLASS_CAST \
   32     ((cls), CAMEL_TYPE_MAPI_SETTINGS, CamelMapiSettingsClass))
   33 #define CAMEL_IS_MAPI_SETTINGS(obj) \
   34     (G_TYPE_CHECK_INSTANCE_TYPE \
   35     ((obj), CAMEL_TYPE_MAPI_SETTINGS))
   36 #define CAMEL_IS_MAPI_SETTINGS_CLASS(cls) \
   37     (G_TYPE_CHECK_CLASS_TYPE \
   38     ((cls), CAMEL_TYPE_MAPI_SETTINGS))
   39 #define CAMEL_MAPI_SETTINGS_GET_CLASS(obj) \
   40     (G_TYPE_INSTANCE_GET_CLASS \
   41     ((obj), CAMEL_TYPE_MAPI_SETTINGS, CamelMapiSettingsClass))
   42 
   43 G_BEGIN_DECLS
   44 
   45 typedef struct _CamelMapiSettings CamelMapiSettings;
   46 typedef struct _CamelMapiSettingsClass CamelMapiSettingsClass;
   47 typedef struct _CamelMapiSettingsPrivate CamelMapiSettingsPrivate;
   48 
   49 struct _CamelMapiSettings {
   50     CamelOfflineSettings parent;
   51     CamelMapiSettingsPrivate *priv;
   52 };
   53 
   54 struct _CamelMapiSettingsClass {
   55     CamelOfflineSettingsClass parent_class;
   56 };
   57 
   58 GType       camel_mapi_settings_get_type
   59                         (void) G_GNUC_CONST;
   60 gboolean    camel_mapi_settings_get_check_all
   61                         (CamelMapiSettings *settings);
   62 void        camel_mapi_settings_set_check_all
   63                         (CamelMapiSettings *settings,
   64                          gboolean check_all);
   65 const gchar *   camel_mapi_settings_get_domain  (CamelMapiSettings *settings);
   66 gchar *     camel_mapi_settings_dup_domain  (CamelMapiSettings *settings);
   67 void        camel_mapi_settings_set_domain  (CamelMapiSettings *settings,
   68                          const gchar *domain);
   69 gboolean    camel_mapi_settings_get_filter_junk
   70                         (CamelMapiSettings *settings);
   71 void        camel_mapi_settings_set_filter_junk
   72                         (CamelMapiSettings *settings,
   73                          gboolean filter_junk);
   74 gboolean    camel_mapi_settings_get_filter_junk_inbox
   75                         (CamelMapiSettings *settings);
   76 void        camel_mapi_settings_set_filter_junk_inbox
   77                         (CamelMapiSettings *settings,
   78                          gboolean filter_junk_inbox);
   79 gboolean    camel_mapi_settings_get_kerberos
   80                         (CamelMapiSettings *settings);
   81 void        camel_mapi_settings_set_kerberos
   82                         (CamelMapiSettings *settings,
   83                          gboolean kerberos);
   84 const gchar *   camel_mapi_settings_get_profile (CamelMapiSettings *settings);
   85 gchar *     camel_mapi_settings_dup_profile (CamelMapiSettings *settings);
   86 void        camel_mapi_settings_set_profile (CamelMapiSettings *settings,
   87                          const gchar *profile);
   88 const gchar *   camel_mapi_settings_get_realm   (CamelMapiSettings *settings);
   89 gchar *     camel_mapi_settings_dup_realm   (CamelMapiSettings *settings);
   90 void        camel_mapi_settings_set_realm   (CamelMapiSettings *settings,
   91                          const gchar *realm);
   92 gboolean    camel_mapi_settings_get_listen_notifications
   93                         (CamelMapiSettings *settings);
   94 void        camel_mapi_settings_set_listen_notifications
   95                         (CamelMapiSettings *settings,
   96                          gboolean listen_notifications);
   97 
   98 G_END_DECLS
   99 
  100 #endif /* CAMEL_MAPI_SETTINGS_H */