Ocean
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 
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  */
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 };
46 
47 }
48 
49 }
50 
51 }
52 
53 #endif // META_OCEAN_PLATFORM_WXWIDGETS_WX_WIDGETS_APPLICATION_H
This class implements a very simple WxWidgets application not registering for any kind of application...
Definition: WxWidgetsApplication.h:27
bool OnInit() override
The initialization event function.
bool Initialize(int &argc, wxChar **argv) override
The initialization function.
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15