Commit 6e73f9a7 authored by Halla Rempt's avatar Halla Rempt

PSD Layer styles: add a class to load, save, store and apply the lrfx

parent 7d0c0ef6
......@@ -262,6 +262,8 @@ set(kritaimage_LIB_SRCS
recorder/kis_recorded_paint_action.cpp
recorder/kis_recorded_path_paint_action.cpp
recorder/kis_recorded_shape_paint_action.cpp
kis_psd_layer_style.cpp
)
set(einspline_SRCS
......
/*
* Copyright (c) 2014 Boudewijn Rempt <boud@valdyas.org>
*
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "kis_psd_layer_style.h"
#include <QIODevice>
struct KisPSDLayerStyle::Private
{
};
KisPSDLayerStyle::KisPSDLayerStyle(QObject *parent)
: QObject(parent)
, d(new Private())
{
}
bool KisPSDLayerStyle::save(QIODevice *io) const
{
return false;
}
bool KisPSDLayerStyle::load(QIODevice *io)
{
return false;
}
/*
* Copyright (c) 2014 Boudewijn Rempt <boud@valdyas.org>
*
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef KIS_PSD_LAYER_STYLE_H
#define KIS_PSD_LAYER_STYLE_H
#include <QObject>
class QIODevice;
/**
* @brief The KisPSDLayerStyle class implements loading, saving and applying
* the PSD layer effects.
*
*/
class KisPSDLayerStyle : public QObject
{
Q_OBJECT
public:
explicit KisPSDLayerStyle(QObject *parent = 0);
bool save(QIODevice *io) const;
bool load(QIODevice *io);
signals:
public slots:
private:
struct Private;
Private * const d;
};
#endif // KIS_PSD_LAYER_STYLE_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