• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • twin
 

twin

plugins.cpp

00001 /*****************************************************************
00002  KWin - the KDE window manager
00003  This file is part of the KDE project.
00004 
00005 Copyright (C) 1999, 2000    Daniel M. Duley <mosfet@kde.org>
00006 Copyright (C) 2003 Lubos Lunak <l.lunak@kde.org>
00007 
00008 You can Freely distribute this program under the GNU General Public
00009 License. See the file "COPYING" for the exact licensing terms.
00010 ******************************************************************/
00011 
00012 #include "plugins.h"
00013 
00014 #include <tdeglobal.h>
00015 #include <tdelocale.h>
00016 #include <stdlib.h>
00017 #include <tqpixmap.h>
00018 
00019 namespace KWinInternal
00020 {
00021 
00022 PluginMgr::PluginMgr()
00023     : KDecorationPlugins( TDEGlobal::config())
00024     {
00025     defaultPlugin = (TQPixmap::defaultDepth() > 8) ?
00026             "twin3_plastik" : "twin3_quartz";
00027     loadPlugin( "" ); // load the plugin specified in cfg file
00028     }
00029 
00030 void PluginMgr::error( const TQString &error_msg )
00031     {
00032     tqWarning( "%s", (i18n("TWin: ") + error_msg +
00033                     i18n("\nTWin will now exit...")).local8Bit().data() );
00034     exit(1);
00035     }
00036 
00037 bool PluginMgr::provides( Requirement )
00038     {
00039     return false;
00040     }
00041 
00042 } // namespace

twin

Skip menu "twin"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

twin

Skip menu "twin"
  • kate
  • libkonq
  • twin
  •   lib
Generated for twin by doxygen 1.7.1
This website is maintained by Timothy Pearson.