ContactPersonNumberRef ContactManager::getContactPersonNumber(int phoneNumId)
{
- // TODO: impl cache policy if needed
contacts_filter_h filter = nullptr;
contacts_filter_create(_contacts_contact_number._uri, &filter);
contacts_filter_add_int(filter, _contacts_person_number.number_id, CONTACTS_MATCH_EQUAL, phoneNumId);
void ContactManager::invalidateCache()
{
- // TODO: invalidate cache by uri table
MSG_LOG("");
m_AddressMap.clear();
m_OwnerProfile.reset();
#include "private/MsgSettingsPrivate.h"
#include "private/MsgComposerPrivate.h"
#else
- // TODO: msg public headers
#endif
#include <assert.h>
void NaviFrameItem::NaviBar::setButtonText(NaviButtonId id, const std::string &text)
{
- //TODO: implement text color in edc
TextStyle style;
switch(m_CurrentColor)
{
if(m_pEo)
{
- // TODO: impl. reset EO if nedded
MSG_LOG_ERROR("m_pEo not null");
assert(false);
}
switch(msgMediaType)
{
case MsgMedia::ImageType:
- // TODO: msg service corrupts thumbnail's metadata, so it lost rotation. Use getPath instead getThumbPath until fix
return new BubbleImageEntity(filePath, direction);
case MsgMedia::AudioType:
return new BubbleAudioEntity(filePath, fileName, bgType, direction);
}
}
if(inserted)
- navigateToBottom(); // TODO: navigate to last inserted message or to compose item ?
+ navigateToBottom();
}
void ConvList::onMsgStorageDelete(const MsgIdList &msgIdList)
m_Attachments.push_back(list[i].getFilePath());
}
- // TODO: image/video, text order
-
const MsgMedia *video = getMedia(page, MsgMedia::VideoType);
if(video)
buildVideo(*video);
MSG_LOG("");
if(FileUtils::saveFileToStorage(item.getFilePath()))
notification_status_message_post(msg("IDS_MSGF_POP_SAVED_IN_MY_FILES").cStr());
- // TODO: else
}
void SmilPage::onItemClicked(SmilSaveAllItemView &item)
MSG_LOG("");
if(!m_Attachments.empty() && FileUtils::saveFilesToStorage(m_Attachments))
notification_status_message_post(msg("IDS_MSGF_POP_SAVED_IN_MY_FILES").cStr());
- // TODO: else
-
}