webengine/device/inc/Device.h
changeset 15 60c5402cb945
parent 10 a359256acfc6
equal deleted inserted replaced
11:c8a366e56285 15:60c5402cb945
    57         friend class Device;
    57         friend class Device;
    58         friend class DeviceFunc;
    58         friend class DeviceFunc;
    59         public:
    59         public:
    60             DevicePrivate(Device* jsobj);
    60             DevicePrivate(Device* jsobj);
    61             ~DevicePrivate();
    61             ~DevicePrivate();
    62             void SetUid( const TUint& aValue);
       
    63 
    62 
    64         private:
    63         private:
    65             MDeviceBinding* m_deviceBinding;                 // Owned
       
    66             Identifier m_propName;
    64             Identifier m_propName;
    67             ExecState* m_exec;                               // not owned
    65             ExecState* m_exec;                               // not owned
    68             Device* m_jsobj;                                 // not owned
    66             Device* m_jsobj;                                 // not owned
    69         };
    67         };
    70     
    68     
   160             
   158             
   161             MDeviceBinding* GetDeviceBinding();
   159             MDeviceBinding* GetDeviceBinding();
   162 
   160 
   163         private:
   161         private:
   164             DevicePrivate* m_privateData;   // private object to hold data
   162             DevicePrivate* m_privateData;   // private object to hold data
       
   163             MDeviceBinding* m_deviceBinding; // Owned
   165             TBool m_valid;                   // object is valid or not
   164             TBool m_valid;                   // object is valid or not
   166         };
   165         };
   167 
   166 
   168     class DeviceFunc : public JSObject
   167     class DeviceFunc : public JSObject
   169         {
   168         {