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

twin

  • twin
plugins.cpp
1 /*****************************************************************
2  KWin - the KDE window manager
3  This file is part of the KDE project.
4 
5 Copyright (C) 1999, 2000 Daniel M. Duley <mosfet@kde.org>
6 Copyright (C) 2003 Lubos Lunak <l.lunak@kde.org>
7 
8 You can Freely distribute this program under the GNU General Public
9 License. See the file "COPYING" for the exact licensing terms.
10 ******************************************************************/
11 
12 #include "plugins.h"
13 
14 #include <tdeglobal.h>
15 #include <tdelocale.h>
16 #include <stdlib.h>
17 #include <tqpixmap.h>
18 
19 namespace KWinInternal
20 {
21 
22 PluginMgr::PluginMgr()
23  : KDecorationPlugins( TDEGlobal::config())
24  {
25  defaultPlugin = (TQPixmap::defaultDepth() > 8) ?
26  "twin3_plastik" : "twin3_quartz";
27  loadPlugin( "" ); // load the plugin specified in cfg file
28  }
29 
30 void PluginMgr::error( const TQString &error_msg )
31  {
32  tqWarning( "%s", (i18n("TWin: ") + error_msg +
33  i18n("\nTWin will now exit...")).local8Bit().data() );
34  exit(1);
35  }
36 
37 bool PluginMgr::provides( Requirement )
38  {
39  return false;
40  }
41 
42 } // 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.8.1.2
This website is maintained by Timothy Pearson.