Text definitions added/modified
[platform/core/uifw/dali-toolkit.git] / base / dali-toolkit / public-api / builder / builder.h
index d703749..98d3d8c 100644 (file)
  */
 
 // EXTERNAL INCLUDES
-#include <dali/dali.h>
+#include <dali/public-api/actors/actor.h>
+#include <dali/public-api/animation/animation.h>
+#include <dali/public-api/images/frame-buffer-image.h>
+#include <dali/public-api/shader-effects/shader-effect.h>
 
-namespace Dali DALI_IMPORT_API
+namespace Dali
 {
 
 namespace Toolkit
@@ -114,7 +117,7 @@ class Builder;
  *
  */
 
-class Builder : public BaseHandle
+class DALI_IMPORT_API Builder : public BaseHandle
  {
  public:
    /**
@@ -396,6 +399,15 @@ class Builder : public BaseHandle
    */
   FrameBufferImage GetFrameBufferImage( const std::string &name );
 
+  /**
+   * Get or create Path from the Path instance library.
+   * An empty handle is returned otherwise.
+   * @pre The Builder has been initialized.
+   * @param name The name of a Path in the loaded representation
+   * @return A handle to a Path if found, otherwise empty
+   */
+  Path GetPath( const std::string &name );
+
   // Signals
 
   /**
@@ -409,7 +421,7 @@ class Builder : public BaseHandle
   Signal& QuitSignal();
 
 private:
-  Builder(Internal::Builder *impl);
+  explicit DALI_INTERNAL Builder(Internal::Builder *impl);
 
 }; // class Builder