Crazy Eddie's GUI System  ${CEGUI_VERSION}
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
CEGuiAndroidOpenglEs2BaseApplication.h
1 /***********************************************************************
2  created: 27/7/2015
3  author: Yaron Cohen-Tal
4 *************************************************************************/
5 /***************************************************************************
6 * Copyright (C) 2004 - 2015 Paul D Turner & The CEGUI Development Team
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining
9 * a copy of this software and associated documentation files (the
10 * "Software"), to deal in the Software without restriction, including
11 * without limitation the rights to use, copy, modify, merge, publish,
12 * distribute, sublicense, and/or sell copies of the Software, and to
13 * permit persons to whom the Software is furnished to do so, subject to
14 * the following conditions:
15 *
16 * The above copyright notice and this permission notice shall be
17 * included in all copies or substantial portions of the Software.
18 *
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
23 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
24 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25 * OTHER DEALINGS IN THE SOFTWARE.
26 ***************************************************************************/
27 #ifndef _CEGuiAndroidOpenglEs2BaseApplication_h_
28 #define _CEGuiAndroidOpenglEs2BaseApplication_h_
29 
30 #include "CEGuiBaseApplication.h"
31 
33 {
34 public:
36  bool init(SamplesFrameworkBase* sampleApp, const CEGUI::String &logFile,
37  const CEGUI::String &dataPathPrefixOverride);
38 protected:
39  void destroyWindow() {}
40  void beginRendering(const float elapsed);
41  void endRendering() {}
42 };
43 
44 #endif // end of guard _CEGuiAndroidOpenglEs2BaseApplication_h_
void beginRendering(const float elapsed)
Implementation function to perform required pre-render operations.
Definition: CEGuiAndroidOpenglEs2BaseApplication.cpp:46
bool init(SamplesFrameworkBase *sampleApp, const CEGUI::String &logFile, const CEGUI::String &dataPathPrefixOverride)
Initialise the base application.
Definition: CEGuiAndroidOpenglEs2BaseApplication.cpp:37
This is a base class that is intended to be used for all sample applications. Here we take care of co...
Definition: SamplesFrameworkBase.h:43
Base application abstract base class.
Definition: CEGuiBaseApplication.h:69
void endRendering()
Implementation function to perform required post-render operations.
Definition: CEGuiAndroidOpenglEs2BaseApplication.h:41
Definition: CEGuiAndroidOpenglEs2BaseApplication.h:32
void destroyWindow()
The abstract function for destroying the renderer and the window.
Definition: CEGuiAndroidOpenglEs2BaseApplication.h:39
String class used within the GUI system.
Definition: cegui/include/CEGUI/String.h:62