equal
deleted
inserted
replaced
38 { |
38 { |
39 public: |
39 public: |
40 static HbDeviceProfileDatabase *instance(HbMemoryManager::MemoryType type = |
40 static HbDeviceProfileDatabase *instance(HbMemoryManager::MemoryType type = |
41 HbMemoryManager::HeapMemory); |
41 HbMemoryManager::HeapMemory); |
42 |
42 |
43 int deviceProfilesOffset(); |
43 qptrdiff deviceProfilesOffset(); |
44 |
44 |
45 private: |
45 private: |
46 HbDeviceProfileDatabase(HbMemoryManager::MemoryType type = |
46 HbDeviceProfileDatabase(HbMemoryManager::MemoryType type = |
47 HbMemoryManager::HeapMemory); |
47 HbMemoryManager::HeapMemory); |
48 void init(); |
48 void init(); |
53 Q_DISABLE_COPY(HbDeviceProfileDatabase) |
53 Q_DISABLE_COPY(HbDeviceProfileDatabase) |
54 |
54 |
55 private: |
55 private: |
56 HbDeviceProfileList *mDeviceProfiles; |
56 HbDeviceProfileList *mDeviceProfiles; |
57 HbDeviceModeInfo *mDeviceModes; |
57 HbDeviceModeInfo *mDeviceModes; |
58 int mDeviceProfilesOffset; |
58 qptrdiff mDeviceProfilesOffset; |
59 HbMemoryManager::MemoryType mType; |
59 HbMemoryManager::MemoryType mType; |
60 }; |
60 }; |
61 |
61 |
62 #endif // HBDEVICEPROFILEDATABASE_H |
62 #endif // HBDEVICEPROFILEDATABASE_H |