-#ifndef __DALI_LIFECYCLE_CONTROLLER_H__
-#define __DALI_LIFECYCLE_CONTROLLER_H__
+#ifndef DALI_LIFECYCLE_CONTROLLER_H
+#define DALI_LIFECYCLE_CONTROLLER_H
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#include <dali/public-api/object/base-handle.h>
#include <dali/public-api/signals/dali-signal.h>
+// INTERNAL INCLUDES
+#include <dali/public-api/dali-adaptor-common.h>
+
namespace Dali
{
-
namespace Internal DALI_INTERNAL
{
namespace Adaptor
{
class LifecycleController;
}
-}
+} // namespace DALI_INTERNAL
/**
* @brief Provides application lifecycle events.
* }
* @endcode
*/
-class DALI_IMPORT_API LifecycleController : public BaseHandle
+class DALI_ADAPTOR_API LifecycleController : public BaseHandle
{
-public: // Typedefs
-
- typedef Signal< void (void) > LifecycleSignalType; ///< Lifecycle Signal type
+public: // Typedefs
+ typedef Signal<void(void)> LifecycleSignalType; ///< Lifecycle Signal type
public: // Creation & Destruction
-
/**
* @brief Create an uninitialized LifecycleController handle.
*
~LifecycleController();
public: // Signals
-
/**
* The user should connect to this signal to determine when they should initialise
* their application.
LifecycleSignalType& ResetSignal();
/**
- * This signal is emitted when the window the application is rendering on is resized.
- */
- LifecycleSignalType& ResizeSignal();
-
- /**
* This signal is emitted when the language is changed on the device.
*/
LifecycleSignalType& LanguageChangedSignal();
public: // Operators
-
/**
* @brief Assignment operator.
*
} // namespace Dali
-#endif // __DALI_LIFECYCLE_CONTROLLER_H__
+#endif // DALI_LIFECYCLE_CONTROLLER_H