winix/plugins/export/exportthread.cpp

44 lines
549 B
C++
Executable File

/*
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2011, Tomasz Sowa
* All rights reserved.
*
*/
#include "exportthread.h"
namespace Export
{
void ExportThread::AddMessage(const Message & message)
{
message_tab.insert(message_tab.end(), message);
}
void ExportThread::AddMessage(int type, const std::wstring & url, const std::wstring & path)
{
message_add_temp.type = type;
message_add_temp.url = url;
message_add_temp.path = path;
AddMessage(message_add_temp);
}
} // namespace