enve/examples/pathEffects/eLinearize/elinearize_global.h

50 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-08-28 16:30:12 +00:00
#ifndef ELINEARIZE_GLOBAL_H
#define ELINEARIZE_GLOBAL_H
2019-06-02 16:53:04 +00:00
#include <QtCore/qglobal.h>
2019-08-28 16:30:12 +00:00
#if defined(ELINEARIZE_LIBRARY)
# define ELINEARIZESHARED_EXPORT Q_DECL_EXPORT
2019-06-02 16:53:04 +00:00
#else
2019-08-28 16:30:12 +00:00
# define ELINEARIZESHARED_EXPORT Q_DECL_IMPORT
2019-06-02 16:53:04 +00:00
#endif
2019-07-20 18:08:42 +00:00
#include "enveCore/PathEffects/custompatheffect.h"
2019-06-02 16:53:04 +00:00
extern "C" {
2019-07-06 12:57:14 +00:00
2019-08-28 16:30:12 +00:00
ELINEARIZESHARED_EXPORT
2020-03-31 14:18:42 +00:00
void eCreateNewestVersion(qsptr<CustomPathEffect>& result);
2019-07-06 12:57:14 +00:00
2019-08-28 16:30:12 +00:00
ELINEARIZESHARED_EXPORT
2020-03-31 14:18:42 +00:00
void eCreate(const CustomIdentifier &identifier,
qsptr<CustomPathEffect>& result);
2019-06-02 16:53:04 +00:00
2019-08-28 16:30:12 +00:00
ELINEARIZESHARED_EXPORT
2020-03-31 14:18:42 +00:00
void eName(QString& result);
2019-06-02 16:53:04 +00:00
2019-08-28 16:30:12 +00:00
ELINEARIZESHARED_EXPORT
2020-03-31 14:18:42 +00:00
void eIdentifier(CustomIdentifier& result);
2019-06-02 16:53:04 +00:00
2019-08-28 16:30:12 +00:00
ELINEARIZESHARED_EXPORT
2020-03-31 14:18:42 +00:00
bool eSupports(const CustomIdentifier &identifier);
2019-07-06 13:57:28 +00:00
2019-06-02 16:53:04 +00:00
}
2019-08-28 16:30:12 +00:00
#endif // ELINEARIZE_GLOBAL_H