Commit 388d0ec8 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Start to create specific class

parent 25058f76
......@@ -61,6 +61,7 @@ set(libmessageviewer_viewer_SRCS
viewer/attachmentstrategy.cpp
viewer/csshelper.cpp
viewer/csshelperbase.cpp
viewer/cssfancyhelper.cpp
viewer/editorwatcher.cpp
viewer/objecttreeemptysource.cpp
viewer/objecttreeviewersource.cpp
......
/*
Copyright (c) 2018 Montel Laurent <montel@kde.org>
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 "cssfancyhelper.h"
using namespace MessageViewer;
CSSFancyHelper::CSSFancyHelper(const QPaintDevice *pd)
: CSSHelper(pd)
{
}
CSSFancyHelper::~CSSFancyHelper()
{
}
QString MessageViewer::CSSFancyHelper::extraScreenCss() const
{
//TODO
return {};
}
QString MessageViewer::CSSFancyHelper::extraPrintCss() const
{
//TODO
return {};
}
QString MessageViewer::CSSFancyHelper::extraCommonCss() const
{
//TODO
return {};
}
/*
Copyright (c) 2018 Montel Laurent <montel@kde.org>
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 CSSFANCYHELPER_H
#define CSSFANCYHELPER_H
#include "messageviewer_export.h"
#include <MessageViewer/CSSHelper>
namespace MessageViewer {
class MESSAGEVIEWER_EXPORT CSSFancyHelper : public CSSHelper
{
public:
explicit CSSFancyHelper(const QPaintDevice *pd);
~CSSFancyHelper() override;
QString extraScreenCss() const override;
QString extraPrintCss() const override;
QString extraCommonCss() const override;
};
}
#endif // CSSFANCYHELPER_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