LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / libreofficekit / qa / gtktiledviewer / gtv-application.hxx
blob66035036624060d2b66f31328dc65d82708685e9
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_APPLICATION_H
11 #define GTV_APPLICATION_H
13 #include <gtk/gtk.h>
15 G_BEGIN_DECLS
17 #define GTV_TYPE_APPLICATION (gtv_application_get_type())
18 #define GTV_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTV_TYPE_APPLICATION, GtvApplication))
19 #define GTV_IS_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTV_TYPE_APPLICATION))
20 #define GTV_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTV_TYPE_APPLICATION, GtvApplicationClass))
21 #define GTV_IS_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTV_TYPE_APPLICATION))
22 #define GTV_APPLICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTV_TYPE_APPLICATION, GtvApplicationClass))
24 struct GtvApplication
26 GtkApplication parent;
29 struct GtvApplicationClass
31 GtkApplicationClass parentClass;
34 GType gtv_application_get_type (void) G_GNUC_CONST;
36 GtvApplication* gtv_application_new();
38 G_END_DECLS
40 #endif /* GTV_APPLICATION_H */
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */