Since some of the .h files are installed ...

Prefix all the #ifndef #define ... #endif symbols with KWIN_ , just in case
somebody uses CLIENT_H or so too.
And don't include config.h .

svn path=/trunk/kdebase/kwin/; revision=168940
This commit is contained in:
Luboš Luňák 2002-07-26 20:30:36 +00:00
parent bbb9426543
commit 78a7c08049
10 changed files with 20 additions and 21 deletions

View file

@ -3,8 +3,8 @@ kwin - the KDE window manager
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
******************************************************************/
#ifndef ATOMS_H
#define ATOMS_H
#ifndef KWIN_ATOMS_H
#define KWIN_ATOMS_H
#include <X11/Xlib.h>
class Atoms {

View file

@ -3,8 +3,8 @@ kwin - the KDE window manager
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
******************************************************************/
#ifndef CLIENT_H
#define CLIENT_H
#ifndef KWIN_CLIENT_H
#define KWIN_CLIENT_H
#include "options.h"
#include <qframe.h>

View file

@ -4,8 +4,8 @@ kwin - the KDE window manager
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
******************************************************************/
#ifndef EVENTS_H
#define EVENTS_H
#ifndef KWIN_EVENTS_H
#define KWIN_EVENTS_H
class Events
{

View file

@ -3,8 +3,8 @@ kwin - the KDE window manager
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
******************************************************************/
#ifndef KILLWINDOW_H
#define KILLWINDOW_H
#ifndef KWIN_KILLWINDOW_H
#define KWIN_KILLWINDOW_H
#include "workspace.h"

View file

@ -3,8 +3,8 @@ kwin - the KDE window manager
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
******************************************************************/
#ifndef OPTIONS_H
#define OPTIONS_H
#ifndef KWIN_OPTIONS_H
#define KWIN_OPTIONS_H
#include <qobject.h>
#include <qfont.h>

View file

@ -7,8 +7,8 @@ Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
Placement algorithms
Copyright (C) 1997 to 2002 Cristian Tibirna <tibirna@kde.org>
******************************************************************/
#ifndef PLACEMENT_H
#define PLACEMENT_H
#ifndef KWIN_PLACEMENT_H
#define KWIN_PLACEMENT_H
#include <qpoint.h>
#include <qvaluelist.h>

View file

@ -3,8 +3,8 @@ kwin - the KDE window manager
Copyright (C) 1999, 2000 Daniel M. Duley <mosfet@kde.org>
******************************************************************/
#ifndef __PLUGINS_H
#define __PLUGINS_H
#ifndef KWIN_PLUGINS_H
#define KWIN_PLUGINS_H
#include <qpopupmenu.h>
#include <qstringlist.h>

View file

@ -3,8 +3,8 @@ kwin - the KDE window manager
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
******************************************************************/
#ifndef POPUPINFO_H
#define POPUPINFO_H
#ifndef KWIN_POPUPINFO_H
#define KWIN_POPUPINFO_H
#include <qwidget.h>
#include <qtimer.h>
#include <qvaluelist.h>

View file

@ -3,8 +3,8 @@ kwin - the KDE window manager
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
******************************************************************/
#ifndef TABBOX_H
#define TABBOX_H
#ifndef KWIN_TABBOX_H
#define KWIN_TABBOX_H
#include <qwidget.h>
#include <qtimer.h>
#include <qvaluelist.h>

View file

@ -3,8 +3,8 @@ kwin - the KDE window manager
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
******************************************************************/
#ifndef WORKSPACE_H
#define WORKSPACE_H
#ifndef KWIN_WORKSPACE_H
#define KWIN_WORKSPACE_H
#include <qwidget.h>
#include <qapplication.h>
@ -13,7 +13,6 @@ Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
#include <qvaluelist.h>
#include <qptrlist.h>
#include <qtimer.h>
#include <config.h>
#include "options.h"
#include "KWinInterface.h"
#include <kshortcut.h>