Loading [MathJax]/extensions/tex2jax.js
Ocean
Toggle main menu visibility
Main Page
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
c
d
e
f
g
h
j
m
n
o
p
r
s
t
u
v
w
x
Variables
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
Enumerator
b
e
p
t
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
Properties
Related Symbols
a
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Files
File List
Globals
All
j
p
Functions
j
p
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Modules
Pages
Loading...
Searching...
No Matches
WxWidgetsApplication.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) Meta Platforms, Inc. and affiliates.
3
*
4
* This source code is licensed under the MIT license found in the
5
* LICENSE file in the root directory of this source tree.
6
*/
7
8
#ifndef META_OCEAN_PLATFORM_WXWIDGETS_WX_WIDGETS_APPLICATION_H
9
#define META_OCEAN_PLATFORM_WXWIDGETS_WX_WIDGETS_APPLICATION_H
10
11
#include "
ocean/platform/wxwidgets/WxWidgets.h
"
12
13
namespace
Ocean
14
{
15
16
namespace
Platform
17
{
18
19
namespace
WxWidgets
20
{
21
22
/**
23
* This class implements a very simple WxWidgets application not registering for any kind of application event like e.g., file drag&drop events.
24
* @ingroup platformwxwidgets
25
*/
26
class
WxWidgetsApplication
:
public
wxApp
27
{
28
public
:
29
30
/**
31
* The initialization event function.
32
* This function actually does nothing.
33
* @return True, always
34
*/
35
bool
OnInit
()
override
;
36
37
/**
38
* The initialization function.
39
* This function actually does nothing.
40
* @param argc The number of argument parameters, should be 0
41
* @param argv The argument parameters, should be nullptr
42
* @return True, always
43
*/
44
bool
Initialize
(
int
& argc, wxChar** argv)
override
;
45
};
26
class
WxWidgetsApplication
:
public
wxApp
{
…
};
46
47
}
48
49
}
50
51
}
52
53
#endif
// META_OCEAN_PLATFORM_WXWIDGETS_WX_WIDGETS_APPLICATION_H
WxWidgets.h
Ocean::Platform::WxWidgets::WxWidgetsApplication
This class implements a very simple WxWidgets application not registering for any kind of application...
Definition
WxWidgetsApplication.h:27
Ocean::Platform::WxWidgets::WxWidgetsApplication::OnInit
bool OnInit() override
The initialization event function.
Ocean::Platform::WxWidgets::WxWidgetsApplication::Initialize
bool Initialize(int &argc, wxChar **argv) override
The initialization function.
wxApp
Ocean
The namespace covering the entire Ocean framework.
Definition
Accessor.h:15
impl
ocean
platform
wxwidgets
WxWidgetsApplication.h
Generated on Thu Apr 24 2025 06:03:31 for Ocean by
1.9.8