/******************************************************************** KWin - the KDE window manager This file is part of the KDE project. Copyright (C) 2007 Bernhard Loos Copyright (C) 2007 Christian Nitschkowski 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, see . *********************************************************************/ #include #include "boxswitch_config.h" #include "desktopgrid_config.h" #include "diminactive_config.h" #include "maketransparent_config.h" #include "presentwindows_config.h" #include "shadow_config.h" #include "showfps_config.h" #include "thumbnailaside_config.h" #include "zoom_config.h" #ifdef KWIN_HAVE_OPENGL_COMPOSITING #include "coverswitch_config.h" #include "cube_config.h" #include "cylinder_config.h" #include "flipswitch_config.h" #include "invert_config.h" #include "lookingglass_config.h" #include "mousemark_config.h" #include "magnifier_config.h" #include "sharpen_config.h" #include "snow_config.h" #include "sphere_config.h" #include "trackmouse_config.h" #include "wobblywindows_config.h" #endif #ifdef KWIN_HAVE_XRENDER_COMPOSITING // xrender-only here if any #endif #ifdef HAVE_CAPTURY #include "videorecord_config.h" #endif #include #include #ifndef KDE_USE_FINAL KWIN_EFFECT_CONFIG_FACTORY #endif #define COMMON_PLUGINS \ registerPlugin("boxswitch"); \ registerPlugin("desktopgrid"); \ registerPlugin("diminactive"); \ registerPlugin("maketransparent"); \ registerPlugin("presentwindows"); \ registerPlugin("shadow"); \ registerPlugin ("showfps"); \ registerPlugin("thumbnailaside"); \ registerPlugin("zoom"); #define OPENGL_PLUGINS \ registerPlugin("coverswitch"); \ registerPlugin("cube"); \ registerPlugin("cylinder"); \ registerPlugin("flipswitch"); \ registerPlugin("invert"); \ registerPlugin("lookingglass"); \ registerPlugin("mousemark"); \ registerPlugin("magnifier"); \ registerPlugin("sharpen"); \ registerPlugin("snow"); \ registerPlugin("sphere"); \ registerPlugin("trackmouse"); \ registerPlugin ("wobblywindows"); #define XRENDER_PLUGINS #define CAPTURY_PLUGINS \ registerPlugin ("videorecord"); K_PLUGIN_FACTORY_DEFINITION(EffectFactory, COMMON_PLUGINS #ifdef KWIN_HAVE_OPENGL_COMPOSITING OPENGL_PLUGINS #endif #ifdef KWIN_HAVE_XRENDER_COMPOSITING XRENDER_PLUGINS #endif #ifdef HAVE_CAPTURY CAPTURY_PLUGINS #endif ) K_EXPORT_PLUGIN(EffectFactory("kwin")) #undef COMMON_PLUGINS #undef OPENGL_PLUGINS #undef XRENDER_PLUGINS #undef CAPTURY_PLUGINS