2009-08-18 00:30:29 +02:00
|
|
|
/*
|
2009-08-18 00:31:18 +02:00
|
|
|
* Copyright (c) 2009 Chani Armitage <chani@kde.org>
|
2009-08-18 00:30:29 +02:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Library General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2, 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 Library General Public
|
|
|
|
* License along with this program; if not, write to the
|
|
|
|
* Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
|
|
|
|
2009-12-27 23:16:11 +01:00
|
|
|
#ifndef PLASMA_CONTAINMENTACTIONSPRIVATE_H
|
|
|
|
#define PLASMA_CONTAINMENTACTIONSPRIVATE_H
|
2009-08-18 00:30:29 +02:00
|
|
|
|
|
|
|
#include "plasma/private/dataengineconsumer_p.h"
|
|
|
|
|
|
|
|
namespace Plasma
|
|
|
|
{
|
|
|
|
|
2009-08-18 00:31:32 +02:00
|
|
|
class ContainmentActionsPrivate : public DataEngineConsumer
|
2009-08-18 00:30:29 +02:00
|
|
|
{
|
|
|
|
public:
|
2009-08-18 00:31:32 +02:00
|
|
|
ContainmentActionsPrivate(KService::Ptr service, ContainmentActions *containmentActions) :
|
|
|
|
q(containmentActions),
|
|
|
|
containmentActionsDescription(service),
|
2009-08-18 00:30:29 +02:00
|
|
|
initialized(false),
|
2010-11-11 23:22:39 +01:00
|
|
|
needsConfig(false),
|
|
|
|
containment(0)
|
2009-08-18 00:30:29 +02:00
|
|
|
{
|
|
|
|
};
|
|
|
|
|
|
|
|
static PackageStructure::Ptr s_packageStructure;
|
|
|
|
|
2009-08-18 00:31:32 +02:00
|
|
|
ContainmentActions *q;
|
|
|
|
KPluginInfo containmentActionsDescription;
|
2009-08-18 00:30:29 +02:00
|
|
|
Package *package;
|
|
|
|
KServiceAction mode;
|
|
|
|
bool initialized : 1;
|
|
|
|
bool needsConfig : 1;
|
2010-11-11 23:22:39 +01:00
|
|
|
Containment *containment;
|
2009-08-18 00:30:29 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace Plasma
|
2009-12-27 23:16:11 +01:00
|
|
|
#endif //PLASMA_CONTAINMENTACTIONSPRIVATE_H
|
2009-08-18 00:30:29 +02:00
|
|
|
|