controlpanelplugins/themeplugin/src/cpthemeclientsymbian_p.h
changeset 15 cc79acdc26cb
parent 14 23411a3be0db
equal deleted inserted replaced
14:23411a3be0db 15:cc79acdc26cb
    16  */
    16  */
    17 
    17 
    18 #ifndef CPTHEMECLIENTSYMBIAN_P_H
    18 #ifndef CPTHEMECLIENTSYMBIAN_P_H
    19 #define CPTHEMECLIENTSYMBIAN_P_H
    19 #define CPTHEMECLIENTSYMBIAN_P_H
    20 
    20 
    21 
    21 #include <QString>
    22 #include <QIcon>
       
    23 // TODO Do we need this?
       
    24 //#include "hbthemecommon_p.h"
       
    25 //ToDo: replace this with forward declaration
       
    26 #if !defined(__E32BASE_H__)
    22 #if !defined(__E32BASE_H__)
    27 #include <e32base.h>
    23 #include <e32base.h>
    28 #endif
    24 #endif
    29 
    25 
    30 class CThemeListenerPrivate;
    26 class CpThemeClientPrivate
    31 class QSizeF;
       
    32 class HbEffectFxmlData;
       
    33 struct MeshItem;
       
    34 
       
    35 class CpThemeClientPrivate : public RSessionBase
       
    36 {
    27 {
    37 public:
    28 public:
    38     CpThemeClientPrivate();
    29     CpThemeClientPrivate();
    39 
    30 
    40     bool connectToServer();
    31     bool connectToServer();
       
    32     
       
    33     bool changeTheme(const QString& newtheme);
       
    34     
    41     bool isConnected();
    35     bool isConnected();
    42 
    36 
    43     bool changeTheme(const QString& newtheme);
       
    44     ~CpThemeClientPrivate();
    37     ~CpThemeClientPrivate();
    45     
       
    46 public:
       
    47     bool clientConnected;
       
    48 
       
    49 private:
       
    50     TVersion Version() const;
       
    51     TInt StartServer();
       
    52     TInt CreateServerProcess();
       
    53     
       
    54 private:
       
    55     CThemeListenerPrivate *themelistener;
       
    56     QString themeName;
       
    57     bool connected;
       
    58 };
    38 };
    59 
    39 
    60 #endif /* CPTHEMECLIENTSYMBIAN_P_H */
    40 #endif /* CPTHEMECLIENTSYMBIAN_P_H */