File indexing completed on 2024-05-12 15:59:29

0001 /*
0002  *  SPDX-FileCopyrightText: 2020 Dmitry Kazakov <dimula73@gmail.com>
0003  *
0004  *  SPDX-License-Identifier: GPL-2.0-or-later
0005  */
0006 #ifndef KOALPHAMASKAPPLICATORFACTORYIMPL_H
0007 #define KOALPHAMASKAPPLICATORFACTORYIMPL_H
0008 
0009 #include <KoAlphaMaskApplicatorBase.h>
0010 #include <KoMultiArchBuildSupport.h>
0011 
0012 template<typename _channels_type_,
0013          int _channels_nb_,
0014          int _alpha_pos_>
0015 class KRITAPIGMENT_EXPORT KoAlphaMaskApplicatorFactoryImpl
0016 {
0017 public:
0018     using ParamType = int;
0019     using ReturnType = KoAlphaMaskApplicatorBase *;
0020 
0021     template<typename _impl>
0022     static KoAlphaMaskApplicatorBase* create(int);
0023 };
0024 
0025 
0026 #endif // KOALPHAMASKAPPLICATORFACTORYIMPL_H