/***************************************************************** KWin - the KDE window manager This file is part of the KDE project. Copyright (C) 2007 Bernhard Loos Copyright (C) 2007 Christian Nitschkowski You can Freely distribute this program under the GNU General Public License. See the file "COPYING" for the exact licensing terms. ******************************************************************/ #include #include "shadow_config.h" #include "presentwindows_config.h" #include "desktopgrid_config.h" #include "maketransparent_config.h" #include "diminactive_config.h" #include "thumbnailaside_config.h" #include "zoom_config.h" #ifdef HAVE_OPENGL #include "invert_config.h" #include "lookingglass_config.h" #include "mousemark_config.h" #include "magnifier_config.h" #include "sharpen_config.h" #include "trackmouse_config.h" #endif #include #include #ifndef KDE_USE_FINAL KWIN_EFFECT_CONFIG_FACTORY #endif #define NON_GL_PLUGINS \ registerPlugin("desktopgrid"); \ registerPlugin("diminactive"); \ registerPlugin("maketransparent"); \ registerPlugin("presentwindows"); \ registerPlugin("shadow"); \ registerPlugin("thumbnailaside"); \ registerPlugin("zoom"); #define GL_PLUGINS \ registerPlugin("invert"); \ registerPlugin("lookingglass"); \ registerPlugin("mousemark"); \ registerPlugin("magnifier"); \ registerPlugin("sharpen"); \ registerPlugin("trackmouse"); \ #ifdef HAVE_OPENGL K_PLUGIN_FACTORY_DEFINITION(EffectFactory, NON_GL_PLUGINS GL_PLUGINS ) #else K_PLUGIN_FACTORY_DEFINITION(EffectFactory, NON_GL_PLUGINS ) #endif K_EXPORT_PLUGIN(EffectFactory("kwin"))