"Fossies" - the Fresh Open Source Software Archive

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

    1 /*
    2  * e-source-mapi-folder.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_SOURCE_MAPI_FOLDER_H
   20 #define E_SOURCE_MAPI_FOLDER_H
   21 
   22 #include <libedataserver/libedataserver.h>
   23 
   24 /* Standard GObject macros */
   25 #define E_TYPE_SOURCE_MAPI_FOLDER \
   26     (e_source_mapi_folder_get_type ())
   27 #define E_SOURCE_MAPI_FOLDER(obj) \
   28     (G_TYPE_CHECK_INSTANCE_CAST \
   29     ((obj), E_TYPE_SOURCE_MAPI_FOLDER, ESourceMapiFolder))
   30 #define E_SOURCE_MAPI_FOLDER_CLASS(cls) \
   31     (G_TYPE_CHECK_CLASS_CAST \
   32     ((cls), E_TYPE_SOURCE_MAPI_FOLDER, ESourceMapiFolderClass))
   33 #define E_IS_SOURCE_MAPI_FOLDER(obj) \
   34     (G_TYPE_CHECK_INSTANCE_TYPE \
   35     ((obj), E_TYPE_SOURCE_MAPI_FOLDER))
   36 #define E_IS_SOURCE_MAPI_FOLDER_CLASS(cls) \
   37     (G_TYPE_CHECK_CLASS_TYPE \
   38     ((cls), E_TYPE_SOURCE_MAPI_FOLDER))
   39 #define E_SOURCE_MAPI_FOLDER_GET_CLASS(obj) \
   40     (G_TYPE_INSTANCE_GET_CLASS \
   41     ((obj), E_TYPE_SOURCE_MAPI_FOLDER, ESourceMapiFolderClass))
   42 
   43 #define E_SOURCE_EXTENSION_MAPI_FOLDER "Exchange MAPI Folder"
   44 
   45 G_BEGIN_DECLS
   46 
   47 typedef struct _ESourceMapiFolder ESourceMapiFolder;
   48 typedef struct _ESourceMapiFolderClass ESourceMapiFolderClass;
   49 typedef struct _ESourceMapiFolderPrivate ESourceMapiFolderPrivate;
   50 
   51 struct _ESourceMapiFolder {
   52     ESourceExtension parent;
   53     ESourceMapiFolderPrivate *priv;
   54 };
   55 
   56 struct _ESourceMapiFolderClass {
   57     ESourceExtensionClass parent_class;
   58 };
   59 
   60 GType       e_source_mapi_folder_get_type       (void) G_GNUC_CONST;
   61 void        e_source_mapi_folder_type_register  (GTypeModule *type_module);
   62 
   63 guint64     e_source_mapi_folder_get_id     (ESourceMapiFolder *extension);
   64 void        e_source_mapi_folder_set_id     (ESourceMapiFolder *extension,
   65                              guint64 id);
   66 
   67 guint64     e_source_mapi_folder_get_parent_id  (ESourceMapiFolder *extension);
   68 void        e_source_mapi_folder_set_parent_id  (ESourceMapiFolder *extension,
   69                              guint64 id);
   70 
   71 gboolean    e_source_mapi_folder_is_public      (ESourceMapiFolder *extension);
   72 void        e_source_mapi_folder_set_is_public  (ESourceMapiFolder *extension,
   73                              gboolean is_public);
   74 
   75 gboolean    e_source_mapi_folder_get_allow_partial  (ESourceMapiFolder *extension);
   76 void        e_source_mapi_folder_set_allow_partial  (ESourceMapiFolder *extension,
   77                              gboolean allow_partial);
   78 
   79 gint        e_source_mapi_folder_get_partial_count  (ESourceMapiFolder *extension);
   80 void        e_source_mapi_folder_set_partial_count  (ESourceMapiFolder *extension,
   81                              gint partial_count);
   82 
   83 gboolean    e_source_mapi_folder_get_server_notification
   84                             (ESourceMapiFolder *extension);
   85 void        e_source_mapi_folder_set_server_notification
   86                             (ESourceMapiFolder *extension,
   87                              gboolean server_notification);
   88 
   89 const gchar *   e_source_mapi_folder_get_foreign_username
   90                             (ESourceMapiFolder *extension);
   91 gchar *     e_source_mapi_folder_dup_foreign_username
   92                             (ESourceMapiFolder *extension);
   93 void        e_source_mapi_folder_set_foreign_username
   94                             (ESourceMapiFolder *extension,
   95                              const gchar *foreign_username);
   96 
   97 G_END_DECLS
   98 
   99 #endif /* E_SOURCE_MAPI_FOLDER_H */