--- a/profilesservices/ProfileEngine/EngSrc/CProfileImpl.h Fri Apr 16 15:15:08 2010 +0300
+++ b/profilesservices/ProfileEngine/EngSrc/CProfileImpl.h Mon May 03 12:46:45 2010 +0300
@@ -22,7 +22,7 @@
// INCLUDES
#include <e32base.h>
-#include <MProfileExtended.h>
+#include <MProfileExtended2.h>
#include <centralrepository.h> // NCentralRepositoryConstants::KMaxBinaryLength
// CONSTANTS
@@ -40,6 +40,7 @@
class MProfilesNamesArray;
class MProfilesLocalFeatures;
struct TProfilePresenceSettings;
+class CProfileVibraSettingsImpl;
// CLASS DECLARATION
@@ -50,7 +51,7 @@
* @since 2.0
*/
NONSHARABLE_CLASS(CProfileImpl) : public CBase,
- public MProfileExtended
+ public MProfileExtended2
{
public: // Constructors and destructor
@@ -73,7 +74,7 @@
* @param aId Profile ID
*/
static CProfileImpl* NewLC(
- RFs& aFs, const MProfileExtended& aProfile, TInt aId );
+ RFs& aFs, const MProfileExtended2& aProfile, TInt aId );
/**
* Destructor.
@@ -197,6 +198,27 @@
* From MProfileExtended.
*/
virtual MProfileSetExtraSettings& ProfileSetExtraSettings() const;
+
+
+ /**
+ * From MProfileExtended2.
+ */
+ virtual const MProfileExtraTones2& ProfileExtraTones2() const;
+
+ /**
+ * From MProfileExtended2.
+ */
+ virtual MProfileSetExtraTones2& ProfileSetExtraTones2();
+
+ /**
+ * From MProfileExtended2.
+ */
+ virtual const MProfileVibraSettings& ProfileVibraSettings() const;
+
+ /**
+ * From MProfileExtended2.
+ */
+ virtual MProfileSetVibraSettings& ProfileSetVibraSettings();
/**
* Externalize data to Central Repository.
@@ -223,7 +245,7 @@
* @param aProfile Profile settings
* @param aId Profile ID
*/
- void ConstructL( const MProfileExtended& aProfile, TInt aId );
+ void ConstructL( const MProfileExtended2& aProfile, TInt aId );
/**
* This method does the common part of the construction.
@@ -249,6 +271,9 @@
// Own: Profile presence settings implementation
CProfilePresenceImpl* iProfilePresence;
+
+ // Own: Profile vibra settings implementation
+ CProfileVibraSettingsImpl *iProfileVibraSettings;
// Own: Profile modifiable flags
TUint32 iModifiableFlags;