mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-07 16:11:13 +00:00
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
This commit is contained in:
parent
ad76a433c7
commit
aa3008c3fc
@ -44,8 +44,6 @@ public:
|
||||
~LOTPlayer();
|
||||
LOTPlayer();
|
||||
|
||||
LOTPlayer(const char *filePath);
|
||||
|
||||
bool setFilePath(const char *filePath);
|
||||
|
||||
void setSize(int width, int height);
|
||||
|
@ -113,10 +113,6 @@ LOTPlayer::~LOTPlayer()
|
||||
delete d;
|
||||
}
|
||||
|
||||
LOTPlayer::LOTPlayer(const char *filePath):d(new LOTPlayerPrivate())
|
||||
{
|
||||
d->setFilePath(filePath);
|
||||
}
|
||||
|
||||
/**
|
||||
* \breif Brief abput the Api.
|
||||
|
Loading…
x
Reference in New Issue
Block a user