GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
libgui
src
octave-gui.h
Go to the documentation of this file.
1
/*
2
3
Copyright (C) 2012-2017 John W. Eaton
4
5
This file is part of Octave.
6
7
Octave is free software; you can redistribute it and/or modify it
8
under the terms of the GNU General Public License as published by the
9
Free Software Foundation; either version 3 of the License, or (at your
10
option) any later version.
11
12
Octave is distributed in the hope that it will be useful, but WITHOUT
13
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15
for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with Octave; see the file COPYING. If not, see
19
<http://www.gnu.org/licenses/>.
20
21
*/
22
23
#if ! defined (octave_octave_gui_h)
24
#define octave_octave_gui_h 1
25
26
#include "
octave.h
"
27
28
namespace
octave
29
{
30
class
OCTGUI_API
gui_application
:
public
application
31
{
32
public
:
33
34
gui_application
(
int
argc
,
char
**
argv
)
35
:
application
(argc, argv), m_argc (argc), m_argv (argv),
36
m_gui_running (
false
)
37
{ }
38
39
// Should we start the GUI or fall back to the CLI?
40
bool
start_gui_p (
void
)
const
;
41
42
int
execute (
void
);
43
44
bool
gui_running
(
void
)
const
{
return
m_gui_running; }
45
void
gui_running
(
bool
arg
) { m_gui_running =
arg
; }
46
47
private
:
48
49
// No copying, at least not yet.
50
51
gui_application
(
const
gui_application
&);
52
53
gui_application
& operator = (
const
gui_application
&);
54
55
int
m_argc
;
56
char
**
m_argv
;
57
bool
m_gui_running
;
58
};
59
}
60
61
#endif
octave::gui_application::m_argc
int m_argc
Definition:
octave-gui.h:55
octave
Octave interface to the compression and uncompression libraries.
Definition:
aepbalance.cc:47
argc
int argc
Definition:
load-save.cc:633
octave::gui_application::gui_application
gui_application(int argc, char **argv)
Definition:
octave-gui.h:34
octave::gui_application::gui_running
bool gui_running(void) const
Definition:
octave-gui.h:44
application
arg
octave_value arg
Definition:
pr-output.cc:3440
argv
string_vector argv
Definition:
load-save.cc:635
false
is false
Definition:
cellfun.cc:398
octave::gui_application::m_gui_running
bool m_gui_running
Definition:
octave-gui.h:57
octave::gui_application::m_argv
char ** m_argv
Definition:
octave-gui.h:56
octave::gui_application
Definition:
octave-gui.h:30
octave.h
octave::gui_application::gui_running
void gui_running(bool arg)
Definition:
octave-gui.h:45
Generated on Wed May 10 2017 15:42:43 for GNU Octave by
1.8.8