From: Hermet Park Date: Mon, 16 Jul 2018 12:08:26 +0000 (+0900) Subject: player: remove constructor that accepts functional arguments. X-Git-Tag: submit/tizen/20180917.042405~241 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa3008c3fcb30735e090ea0671113a173f834e47;p=platform%2Fcore%2Fuifw%2Flottie-player.git player: remove constructor that accepts functional arguments. it's not good usage than explicitly function call by users, if the function is possibly failed. Change-Id: I0e008093f6627ff24e8bc1d2e9ce0979dcca57bd --- diff --git a/inc/lottieplayer.h b/inc/lottieplayer.h index dfda152..49904b4 100644 --- a/inc/lottieplayer.h +++ b/inc/lottieplayer.h @@ -44,8 +44,6 @@ public: ~LOTPlayer(); LOTPlayer(); - LOTPlayer(const char *filePath); - bool setFilePath(const char *filePath); void setSize(int width, int height); diff --git a/src/lottie/lottieplayer.cpp b/src/lottie/lottieplayer.cpp index b71ffdb..b68e0f4 100644 --- a/src/lottie/lottieplayer.cpp +++ b/src/lottie/lottieplayer.cpp @@ -113,10 +113,6 @@ LOTPlayer::~LOTPlayer() delete d; } -LOTPlayer::LOTPlayer(const char *filePath):d(new LOTPlayerPrivate()) -{ - d->setFilePath(filePath); -} /** * \breif Brief abput the Api.