player: remove constructor that accepts functional arguments. 33/184233/5
authorHermet Park <hermetpark@gmail.com>
Mon, 16 Jul 2018 12:08:26 +0000 (21:08 +0900)
committerSubhransu Mohanty <sub.mohanty@samsung.com>
Tue, 17 Jul 2018 09:54:14 +0000 (09:54 +0000)
it's not good usage than explicitly function call by users,
if the function is possibly failed.

Change-Id: I0e008093f6627ff24e8bc1d2e9ce0979dcca57bd

inc/lottieplayer.h
src/lottie/lottieplayer.cpp

index dfda152..49904b4 100644 (file)
@@ -44,8 +44,6 @@ public:
     ~LOTPlayer();
     LOTPlayer();
 
-    LOTPlayer(const char *filePath);
-
     bool setFilePath(const char *filePath);
 
     void setSize(int width, int height);
index b71ffdb..b68e0f4 100644 (file)
@@ -113,10 +113,6 @@ LOTPlayer::~LOTPlayer()
    delete d;
 }
 
-LOTPlayer::LOTPlayer(const char *filePath):d(new LOTPlayerPrivate())
-{
-   d->setFilePath(filePath);
-}
 
 /**
  * \breif Brief abput the Api.