#define DALI_ADAPTOR_TEST_APPLICATION_H
/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 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.
*/
// INTERNAL INCLUDES
-#include "test-application.h"
+#include <dali/internal/adaptor/common/framework-factory.h>
#include "adaptor-test-adaptor-impl.h"
-#include <dali/public-api/adaptor-framework/accessibility.h>
+#include "test-application.h"
namespace Dali
{
-
/**
* Adds some functionality on top of TestApplication that is required by the Adaptor.
*/
class AdaptorTestApplication : public TestApplication
{
public:
-
- AdaptorTestApplication( size_t surfaceWidth = DEFAULT_SURFACE_WIDTH,
- size_t surfaceHeight = DEFAULT_SURFACE_HEIGHT,
- float horizontalDpi = DEFAULT_HORIZONTAL_DPI,
- float verticalDpi = DEFAULT_VERTICAL_DPI )
- : TestApplication( surfaceWidth, surfaceHeight, horizontalDpi, verticalDpi )
+ AdaptorTestApplication(size_t surfaceWidth = DEFAULT_SURFACE_WIDTH,
+ size_t surfaceHeight = DEFAULT_SURFACE_HEIGHT,
+ float horizontalDpi = DEFAULT_HORIZONTAL_DPI,
+ float verticalDpi = DEFAULT_VERTICAL_DPI)
+ : TestApplication(surfaceWidth, surfaceHeight, horizontalDpi, verticalDpi)
{
- //Dali::Accessibility::DBusWrapper::Install(std::unique_ptr<Dali::Accessibility::DBusWrapper>(new Dali::Accessibility::TestDBusWrapper()));
-
Internal::Adaptor::Adaptor::SetAvailable();
+ mFrameworkFactory = std::unique_ptr<Internal::Adaptor::FrameworkFactory>(Dali::Internal::Adaptor::CreateFrameworkFactory());
}
~AdaptorTestApplication()
{
}
+
+ std::unique_ptr<Internal::Adaptor::FrameworkFactory> mFrameworkFactory;
};
} // namespace Dali