1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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/.
10 #ifndef GTV_LOK_DIALOG_H
11 #define GTV_LOK_DIALOG_H
15 #include <LibreOfficeKit/LibreOfficeKitGtk.h>
19 #define GTV_TYPE_LOK_DIALOG (gtv_lok_dialog_get_type())
20 #define GTV_LOK_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTV_TYPE_LOK_DIALOG, GtvLokDialog))
21 #define GTV_IS_LOK_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTV_TYPE_LOK_DIALOG))
22 #define GTV_LOK_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTV_TYPE_LOK_DIALOG, GtvLokDialogClass))
23 #define GTV_IS_LOK_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTV_TYPE_LOK_DIALOG))
24 #define GTV_LOK_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTV_TYPE_LOK_DIALOG, GtvLokDialogClass))
31 struct GtvLokDialogClass
33 GtkDialogClass parentClass
;
36 GType
gtv_lok_dialog_get_type (void) G_GNUC_CONST
;
38 GtkWidget
* gtv_lok_dialog_new(LOKDocView
* pDocView
, guint dialogId
, guint width
, guint height
);
40 void gtv_lok_dialog_invalidate(GtvLokDialog
* dialog
, const GdkRectangle
& aRectangle
);
42 void gtv_lok_dialog_child_create(GtvLokDialog
* dialog
, guint childId
, guint nX
, guint nY
, guint width
, guint height
);
44 void gtv_lok_dialog_child_invalidate(GtvLokDialog
* dialog
);
46 void gtv_lok_dialog_child_close(GtvLokDialog
* dialog
);
48 gboolean
gtv_lok_dialog_is_parent_of(GtvLokDialog
* dialog
, guint childId
);
52 #endif /* GTV_LOK_DIALOG_H */
54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */