Update git submodules
[LibreOffice.git] / libreofficekit / qa / gtktiledviewer / gtv-comments-sidebar.hxx
blob8ed096423242d32e0f19579077e040a8e8d104bd
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef GTV_COMMENTS_SIDEBAR_H
11 #define GTV_COMMENTS_SIDEBAR_H
13 #include <gtk/gtk.h>
15 G_BEGIN_DECLS
17 #define GTV_TYPE_COMMENTS_SIDEBAR (gtv_comments_sidebar_get_type())
18 #define GTV_COMMENTS_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTV_TYPE_COMMENTS_SIDEBAR, GtvCommentsSidebar))
19 #define GTV_IS_COMMENTS_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTV_TYPE_COMMENTS_SIDEBAR))
20 #define GTV_COMMENTS_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTV_TYPE_COMMENTS_SIDEBAR, GtvCommentsSidebarClass))
21 #define GTV_IS_COMMENTS_SIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTV_TYPE_COMMENTS_SIDEBAR))
22 #define GTV_COMMENTS_SIDEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTV_TYPE_COMMENTS_SIDEBAR, GtvCommentsSidebarClass))
24 struct GtvCommentsSidebar
26 GtkBox parent;
28 GtkWidget* viewannotationsButton;
29 GtkWidget* scrolledwindow;
30 GtkWidget* commentsgrid;
33 struct GtvCommentsSidebarClass
35 GtkBoxClass parentClass;
38 GType gtv_comments_sidebar_get_type (void) G_GNUC_CONST;
40 GtkWidget* gtv_comments_sidebar_new();
42 void gtv_comments_sidebar_view_annotations(GtvCommentsSidebar* sidebar);
44 G_END_DECLS
46 #endif /* GTV_COMMENTS_SIDEBAR_H */
48 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */