You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koffice/chalk/plugins/viewplugins/scripting/chalkcore/krs_filter_configuration.h

66 lines
2.1 KiB

/*
* Copyright (c) 2006 Cyrille Berger <cberger@cberger.net>
*
* This program 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 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 Library General Public License for more details.
*
* You should have received a copy of the GNU Library 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 KROSS_KRITACOREKRS_FILTER_CONFIGURATION_H
#define KROSS_KRITACOREKRS_FILTER_CONFIGURATION_H
#include <api/class.h>
class KisFilterConfiguration;
namespace Kross {
namespace ChalkCore {
/**
@author Cyrille Berger <cberger@cberger.net>
*/
class FilterConfiguration : public Kross::Api::Class<FilterConfiguration>
{
public:
FilterConfiguration(KisFilterConfiguration*);
~FilterConfiguration();
public:
virtual const TQString getClassName() const;
inline KisFilterConfiguration* filterConfiguration() { return m_fConfig; };
private:
/**
* This function define a parameter of the associated Filter.
* It takes two arguments :
* - the name of the parameter
* - the value, whose type depends of the Filter
*/
Kross::Api::Object::Ptr setProperty(Kross::Api::List::Ptr args);
/**
* This function return the value of a parameter of the associated Filter.
* It takes one argument :
* - the name of the parameter
*/
Kross::Api::Object::Ptr getProperty(Kross::Api::List::Ptr args);
/**
* Deserialize
*/
Kross::Api::Object::Ptr fromXML(Kross::Api::List::Ptr args);
private:
KisFilterConfiguration* m_fConfig;
};
}
}
#endif