Commit a8b03d26 authored by Laurent Montel's avatar Laurent Montel
Browse files

We need to extract message renderer from viewer if we want to be able to

build several mails
parent f51a7ea1
......@@ -50,6 +50,7 @@ if(BUILD_TESTING)
add_subdirectory(messagepartthemes/default/autotests)
add_subdirectory(widgets/autotests/)
add_subdirectory(utils/autotests)
add_subdirectory(viewer/renderer/autotests)
endif()
add_subdirectory(pics)
add_subdirectory(kconf_update)
......@@ -92,6 +93,10 @@ if (${Qca-qt5_FOUND})
)
endif()
set(messageviewer_renderer_SRCS
viewer/renderer/messageviewerrenderer.cpp
)
if(DEBUG_SIGNATURE)
add_definitions(-DDEBUG_SIGNATURE)
endif()
......@@ -238,6 +243,7 @@ set(libmessageviewer_interfaces_SRCS
)
set(libmessageviewer_SRCS
${messageviewer_renderer_SRCS}
${libmessageviewer_conversationviewer_SRCS}
${dkim_verify_SRCS}
${libmessageviewer_messagepartthemes_default_SRCS}
......
/*
Copyright (C) 2019 Laurent Montel <montel@kde.org>
Code based on ARHParser.jsm from dkim_verifier (Copyright (c) Philippe Lieser)
(This software is licensed under the terms of the MIT License.)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "messageviewerrenderer.h"
using namespace MessageViewer;
MessageViewerRenderer::MessageViewerRenderer()
{
}
MessageViewerRenderer::~MessageViewerRenderer()
{
}
/*
Copyright (C) 2019 Laurent Montel <montel@kde.org>
Code based on ARHParser.jsm from dkim_verifier (Copyright (c) Philippe Lieser)
(This software is licensed under the terms of the MIT License.)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef MESSAGEVIEWERRENDERER_H
#define MESSAGEVIEWERRENDERER_H
#include "messageviewer_private_export.h"
namespace MessageViewer {
class MESSAGEVIEWER_TESTS_EXPORT MessageViewerRenderer
{
public:
MessageViewerRenderer();
~MessageViewerRenderer();
};
}
#endif // MESSAGEVIEWERRENDERER_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment