mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CComponentsInfoBox, CComponentsPicture: add overloaded members setPicture()
This commit is contained in:
@@ -87,6 +87,13 @@ void CComponentsPicture::setPicture(const std::string& picture_name)
|
||||
initCCItem();
|
||||
}
|
||||
|
||||
void CComponentsPicture::setPicture(const char* picture_name)
|
||||
{
|
||||
string s_tmp = "";
|
||||
if (picture_name)
|
||||
s_tmp = string(picture_name);
|
||||
setPicture(s_tmp);
|
||||
}
|
||||
|
||||
void CComponentsPicture::setPictureAlign(const int alignment)
|
||||
{
|
||||
@@ -230,6 +237,14 @@ void CComponentsChannelLogo::setPicture(const std::string& picture_name)
|
||||
initVarPictureChannellLogo();
|
||||
}
|
||||
|
||||
void CComponentsChannelLogo::setPicture(const char* picture_name)
|
||||
{
|
||||
string s_tmp = "";
|
||||
if (picture_name)
|
||||
s_tmp = string(picture_name);
|
||||
this->setPicture(s_tmp);
|
||||
}
|
||||
|
||||
void CComponentsChannelLogo::setChannel(const uint64_t& channelId, const std::string& channelName)
|
||||
{
|
||||
channel_id = channelId;
|
||||
|
Reference in New Issue
Block a user