add missing files
svn path=/trunk/KDE/kdebase/workspace/; revision=1021328icc-effect-5.14.5
parent
f6bf95cb44
commit
f642eab20b
|
@ -0,0 +1,40 @@
|
|||
/********************************************************************
|
||||
KWin - the KDE window manager
|
||||
This file is part of the KDE project.
|
||||
|
||||
Copyright (C) 2009 Lucas Murray <lmurray@undefinedfire.com>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*********************************************************************/
|
||||
|
||||
#include "fade_proxy.h"
|
||||
#include "fade.h"
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
||||
FadeEffectProxy::FadeEffectProxy( FadeEffect* effect )
|
||||
: m_effect( effect )
|
||||
{
|
||||
}
|
||||
|
||||
FadeEffectProxy::~FadeEffectProxy()
|
||||
{
|
||||
}
|
||||
|
||||
void FadeEffectProxy::setWindowIgnored(EffectWindow *w, bool ignore)
|
||||
{
|
||||
m_effect->setWindowIgnored(w, ignore);
|
||||
}
|
||||
} // namespace
|
|
@ -0,0 +1,47 @@
|
|||
/********************************************************************
|
||||
KWin - the KDE window manager
|
||||
This file is part of the KDE project.
|
||||
|
||||
Copyright (C) 2009 Lucas Murray <lmurray@undefinedfire.com>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*********************************************************************/
|
||||
|
||||
#ifndef KWIN_FADE_PROXY_H
|
||||
#define KWIN_FADE_PROXY_H
|
||||
|
||||
|
||||
#include <kwineffects.h>
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
||||
class FadeEffect;
|
||||
|
||||
// Example proxy code, TODO: Use or remove
|
||||
class FadeEffectProxy
|
||||
{
|
||||
public:
|
||||
FadeEffectProxy( FadeEffect* effect );
|
||||
~FadeEffectProxy();
|
||||
|
||||
void setWindowIgnored(EffectWindow *w, bool ignore);
|
||||
|
||||
private:
|
||||
FadeEffect* m_effect;
|
||||
};
|
||||
|
||||
} // namespace
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue