From 64f8bc08a9a098cc54505ae3e8bd4826d925f323 Mon Sep 17 00:00:00 2001 From: Matthias Ettrich Date: Mon, 19 Jun 2000 10:45:45 +0000 Subject: [PATCH] missing file svn path=/trunk/kdebase/kwin/; revision=53658 --- Makefile.am | 4 ++-- killwindow.h | 24 ++++++++++++++++++++++++ workspace.cpp | 5 +---- 3 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 killwindow.h diff --git a/Makefile.am b/Makefile.am index d73be62e98..462e88a7b7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,8 +7,8 @@ bin_PROGRAMS = kwin lib_LTLIBRARIES = kwin.la kwin_la_SOURCES = atoms.cpp client.cpp main.cpp stdclient.cpp workspace.cpp \ - tabbox.cpp options.cpp plugins.cpp events.cpp KWinInterface.skel - #killwindow.cpp + tabbox.cpp options.cpp plugins.cpp events.cpp KWinInterface.skel \ + killwindow.cpp kwin_la_LIBADD = $(LIB_KDEUI) kwin_la_LDFLAGS = $(all_libraries) -module -avoid-version diff --git a/killwindow.h b/killwindow.h new file mode 100644 index 0000000000..ce443d435c --- /dev/null +++ b/killwindow.h @@ -0,0 +1,24 @@ +/***************************************************************** +kwin - the KDE window manager + +Copyright (C) 1999, 2000 Matthias Ettrich +******************************************************************/ +#ifndef KILLWINDOW_H +#define KILLWINDOW_H + +#include "workspace.h" + +class KillWindow +{ +public: + + KillWindow( Workspace* ws ); + ~KillWindow(); + + void start(); + +private: + Workspace* workspace; +}; + +#endif diff --git a/workspace.cpp b/workspace.cpp index 880bbf1c24..eba23ddda1 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -25,7 +25,7 @@ Copyright (C) 1999, 2000 Matthias Ettrich #include "atoms.h" #include "plugins.h" #include "events.h" -//#include "killwindow.h" +#include "killwindow.h" #include #include #include @@ -1939,11 +1939,8 @@ void Workspace::slotLogout() */ void Workspace::slotKillWindow() { -#warning KillWindow missing because killwindow.h not committed... -/* KillWindow kill( this ); kill.start(); -*/ }