graphics-api is not public.
so when someone try to include #include<dali/dali.h>, It occure compile error
due to dali/graphics-api/graphics-controller.h is not exist.
This patch remove that temperal codes, and make it compilable
Change-Id: Ia42c53ceadfd7341bd060923b9036a2df94e321e
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 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.
END_TEST;
}
-int UtcDaliApplicationGetControllerN(void)
-{
- Application application;
-
- try
- {
- application.GetController();
- DALI_TEST_CHECK(false); // Should not get here
- }
- catch(...)
- {
- DALI_TEST_CHECK(true);
- }
-
- END_TEST;
-}
-
int UtcDaliApplicationAddIdleWithReturnValueN(void)
{
Application application;
/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 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.
return application;
}
-Graphics::Controller& Application::GetController()
-{
- auto& adaptor = Internal::Adaptor::Adaptor::GetImplementation(*mAdaptor);
- return adaptor.GetGraphicsInterface().GetController();
-}
-
} // namespace Adaptor
} // namespace Internal
#define DALI_INTERNAL_APPLICATION_H
/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 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.
return mLowMemorySignal;
}
- // Temporary to test GFXApi
- Graphics::Controller& GetController();
-
protected:
/**
* Private Constructor
Dali::Application::WINDOW_MODE mMainWindowMode; ///< Window mode of the main window
std::string mMainWindowName; ///< Name of the main window as obtained from environment options
- std::string mStylesheet;
- EnvironmentOptions mEnvironmentOptions;
- PositionSize mWindowPositionSize;
- Launchpad::State mLaunchpadState;
- bool mUseRemoteSurface;
- WindowType mDefaultWindowType; ///< Default window's type. It is used when Application is created.
+ std::string mStylesheet;
+ EnvironmentOptions mEnvironmentOptions;
+ PositionSize mWindowPositionSize;
+ Launchpad::State mLaunchpadState;
+ bool mUseRemoteSurface;
+ WindowType mDefaultWindowType; ///< Default window's type. It is used when Application is created.
SlotDelegate<Application> mSlotDelegate;
/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 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.
return Internal::Adaptor::GetImplementation(*this).LowMemorySignal();
}
-Graphics::Controller& Application::GetController()
-{
- return Internal::Adaptor::GetImplementation(*this).GetController();
-}
-
Application::Application(Internal::Adaptor::Application* application)
: BaseHandle(application)
{
#define DALI_APPLICATION_H
/*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2022 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.
*/
// EXTERNAL INCLUDES
-#include <dali/graphics-api/graphics-controller.h>
#include <dali/public-api/object/base-handle.h>
#include <dali/public-api/signals/callback.h>
*/
LowMemorySignalType& LowMemorySignal();
- // TEMPORARY TO TEST GFXAPI
- Graphics::Controller& GetController();
-
public: // Not intended for application developers
/// @cond internal
/**