13.07.2015 Views

Mali GPU User Interface Engine Application Development Guide

Mali GPU User Interface Engine Application Development Guide

Mali GPU User Interface Engine Application Development Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Tutorial on the Lotion <strong>User</strong> <strong>Interface</strong> Classes5.2 The lotion main.cpp fileThis section describes the logic flow in the main.cpp file:• Includes and enumerations in main.cpp• Convenience functions on page 5-11• Evaluating the start-up arguments on page 5-12• Initializing the applets on page 5-15• Starting the application on page 5-17.5.2.1 Includes and enumerations in main.cppThe main.cpp file starts with include statements and enumerations as shown in Example 5-1:Example 5-1 Includes and enumerations in main.cpp#include #include #include #include #ifdef MDE_OS_WIN32#include #else#include #endif#include #include "lotion.h"#include "applets/lightshow/lightshow.h"#include "applets/browser/browser.h"#include "applets/slideshow_presentation/slideshow_presentation.h"enum applets {APPLET_PHOTO_BROWSER = 1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!