controlpanelplugins/themeplugin/src/cpthemeclientsymbian_p.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 16 Apr 2010 14:59:22 +0300
changeset 11 10d0dd0e43f1
child 14 23411a3be0db
child 19 36aa4756ee82
permissions -rw-r--r--
Revision: 201011 Kit: 201015

/*
* Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
*
*/


#ifndef CPTHEMECLIENTSYMBIAN_P_H
#define CPTHEMECLIENTSYMBIAN_P_H


#include <QIcon>
// TODO Do we need this?
//#include "hbthemecommon_p.h"
//ToDo: replace this with forward declaration
#if !defined(__E32BASE_H__)
#include <e32base.h>
#endif

class CThemeListenerPrivate;
class QSizeF;
class HbEffectFxmlData;
struct MeshItem;

class CpThemeClientPrivate : public RSessionBase
{
public:
    CpThemeClientPrivate();

    bool connectToServer();
    bool isConnected();

    bool changeTheme(const QString& newtheme);
    ~CpThemeClientPrivate();
    
public:
    bool clientConnected;

private:
    TVersion Version() const;
    TInt StartServer();
    TInt CreateServerProcess();
    
private:
    CThemeListenerPrivate *themelistener;
    QString themeName;
    bool connected;
};

#endif /* CPTHEMECLIENTSYMBIAN_P_H */