The Gnome Chemistry Utils
0.14.17
libs
gcugtk
glapplication.h
1
// -*- C++ -*-
2
3
/*
4
* Gnome Chemistry Utils
5
* gcugtk/glapplication.h
6
*
7
* Copyright (C) 2015 Jean Bréfort <jean.brefort@normalesup.org>
8
*
9
* This program is free software; you can redistribute it and/or
10
* modify it under the terms of the GNU General Public License as
11
* published by the Free Software Foundation; either version 3 of the
12
* License, or (at your option) any later version.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public License
20
* along with this program; if not, write to the Free Software
21
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
22
* USA
23
*/
24
25
#include "
application.h
"
26
27
#ifndef GCU_GTK_GL_APPLICATION_H
28
#define GCU_GTK_GL_APPLICATION_H
29
30
namespace
gcugtk
{
31
37
class
GLApplication
:
public
Application
38
{
39
friend
class
GLApplicationPrivate;
40
public
:
42
54
GLApplication
(std::string name, std::string datadir = DATADIR,
char
const
*help_name = NULL,
char
const
*icon_name = NULL,
CmdContextGtk
*cc = NULL);
56
59
virtual
~GLApplication
();
60
61
62
private
:
63
GOConfNode *m_ConfNode;
64
unsigned
m_NotificationId;
65
69
GCU_PROT_PROP
(
bool
, RenderDirect)
70
};
71
72
}
// namespace gcugtk
73
74
#endif // GCU_GTK_GL_APPLICATION_H
gcugtk
The Gtk using base classes.
gcugtk::CmdContextGtk
A Gtk+ using gcu::CmdContext implementation.
Definition:
cmd-context-gtk.h:38
gcugtk::GLApplication::GLApplication
GLApplication(std::string name, std::string datadir=DATADIR, char const *help_name=NULL, char const *icon_name=NULL, CmdContextGtk *cc=NULL)
Constructor.
gcugtk::GLApplication::~GLApplication
virtual ~GLApplication()
Destructor.
gcugtk::Application
Definition:
gcugtk/application.h:86
GCU_PROT_PROP
#define GCU_PROT_PROP(type, member)
Definition:
macros.h:174
application.h
gcugtk::GLApplication
Definition:
glapplication.h:37
Generated by
1.8.13