enve/examples/rasterEffects/dabTest/dabtest_global.h

45 lines
1.4 KiB
C
Raw Permalink Normal View History

2019-08-24 15:07:28 +00:00
// enve - 2D animations software
2020-01-02 19:46:10 +00:00
// Copyright (C) 2016-2020 Maurycy Liebner
2019-08-24 15:07:28 +00:00
// 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 3 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, see <http://www.gnu.org/licenses/>.
2019-07-15 17:06:24 +00:00
#ifndef DABTEST_GLOBAL_H
#define DABTEST_GLOBAL_H
#include <QtCore/qglobal.h>
2019-08-08 19:45:22 +00:00
#if defined(DABTEST_LIBRARY)
2020-03-31 14:18:42 +00:00
# define DABTEST_EXPORT Q_DECL_EXPORT
2019-07-15 17:06:24 +00:00
#else
2020-03-31 14:18:42 +00:00
# define DABTEST_EXPORT Q_DECL_IMPORT
2019-07-15 17:06:24 +00:00
#endif
#include "enveCore/RasterEffects/customrastereffect.h"
2019-07-15 17:06:24 +00:00
extern "C" {
2020-03-31 14:18:42 +00:00
DABTEST_EXPORT void eCreateNewestVersion(qsptr<CustomRasterEffect>& result);
2019-07-15 17:06:24 +00:00
2020-03-31 14:18:42 +00:00
DABTEST_EXPORT void eCreate(const CustomIdentifier &identifier,
qsptr<CustomRasterEffect>& result);
2019-07-15 17:06:24 +00:00
2020-03-31 14:18:42 +00:00
DABTEST_EXPORT void eName(QString& result);
2019-07-15 17:06:24 +00:00
2020-03-31 14:18:42 +00:00
DABTEST_EXPORT void eIdentifier(CustomIdentifier& result);
DABTEST_EXPORT bool eSupports(const CustomIdentifier &identifier);
2019-07-15 17:06:24 +00:00
}
#endif // DABTEST_GLOBAL_H