Initial refactoring of graphics interface
[platform/core/uifw/dali-adaptor.git] / dali / internal / graphics / gles / egl-graphics-factory.h
index a175248..9be337a 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_INTERNAL_GRAPHICS_FACTORY_H
 
 /*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 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.
 // CLASS HEADER
 #include <dali/internal/graphics/common/graphics-factory-interface.h>
 
+// INTERNAL INCLUDES
+#include <dali/internal/system/common/environment-options.h>
 
 namespace Dali
 {
-
 namespace Internal
 {
-
 namespace Adaptor
 {
-
 class GraphicsFactory : public GraphicsFactoryInterface
 {
 public:
-
   /**
    * Constructor
    */
-  GraphicsFactory();
+  GraphicsFactory(EnvironmentOptions& environmentOptions);
 
   /**
    * Destructor
@@ -54,12 +52,15 @@ public:
    * @copydoc Dali::Internal::Adaptor::GraphicsFactoryInterface::Destroy()
    */
   void Destroy() override;
+
+private:
+  EnvironmentOptions& mEnvironmentOptions;
 };
 
-} // Adaptor
+} // namespace Adaptor
 
-} // Internal
+} // namespace Internal
 
-} // Dali
+} // namespace Dali
 
 #endif // DALI_INTERNAL_GRAPHICS_FACTORY_H