2004-10-05 10:28:21 +00:00
|
|
|
//
|
|
|
|
// VMime library (http://vmime.sourceforge.net)
|
|
|
|
// Copyright (C) 2002-2004 Vincent Richard <vincent@vincent-richard.net>
|
|
|
|
//
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU General Public License as
|
|
|
|
// published by the Free Software Foundation; either version 2 of
|
|
|
|
// the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
// General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with this program; if not, write to the Free Software
|
|
|
|
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
//
|
|
|
|
|
|
|
|
#include "encoder.hpp"
|
|
|
|
#include "exception.hpp"
|
|
|
|
|
|
|
|
|
|
|
|
namespace vmime
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
encoder::encoder()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
encoder::~encoder()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2004-10-21 15:05:47 +00:00
|
|
|
const propertySet& encoder::getProperties() const
|
2004-10-05 10:28:21 +00:00
|
|
|
{
|
|
|
|
return (m_props);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2004-10-21 15:05:47 +00:00
|
|
|
propertySet& encoder::getProperties()
|
2004-10-05 10:28:21 +00:00
|
|
|
{
|
|
|
|
return (m_props);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2004-10-21 15:05:47 +00:00
|
|
|
const propertySet& encoder::getResults() const
|
2004-10-05 10:28:21 +00:00
|
|
|
{
|
|
|
|
return (m_results);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2004-10-21 15:05:47 +00:00
|
|
|
propertySet& encoder::getResults()
|
2004-10-05 10:28:21 +00:00
|
|
|
{
|
|
|
|
return (m_results);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2004-10-21 15:05:47 +00:00
|
|
|
const std::vector <string> encoder::getAvailableProperties() const
|
2004-10-05 10:28:21 +00:00
|
|
|
{
|
|
|
|
std::vector <string> list;
|
|
|
|
return (list);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} // vmime
|