mproengprofile.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : MProEngProfile.h
00004 *  Part of     : Profiles Engine / Profiles Engine Wrapper
00005 *  Interface   : SDK, Profiles Engine Wrapper
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright © 3.12 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation. All rights are reserved. Copying,
00013 *  including reproducing, storing, adapting or translating, any
00014 *  or all of this material requires the prior written consent of
00015 *  Nokia Corporation. This material also contains confidential
00016 *  information which may not be disclosed to others without the
00017 *  prior written consent of Nokia Corporation.
00018 * ==============================================================================
00019 */
00020 
00021 
00022 #ifndef MPROENGPROFILE_H
00023 #define MPROENGPROFILE_H
00024 
00025 //  INCLUDES
00026 #include <cntdef.h> // TContactItemId
00027 
00028 // FORWARD DECLARATIONS
00029 class MProEngProfileName;
00030 class MProEngTones;
00031 class MProEngToneSettings;
00032 class MProEngProfileExt;
00033 
00034 // CLASS DECLARATION
00035 
00063 class MProEngProfile
00064     {
00065     protected:  // Destructor
00066 
00067         virtual ~MProEngProfile() {};
00068 
00069     public: // New functions
00070 
00075         virtual void Release() = 0;
00076 
00084         virtual const TArray<TContactItemId> AlertForL() = 0;
00085 
00098         virtual TInt SetAlertForL(
00099             const TArray<TContactItemId>& aAlertFor ) = 0;
00100 
00108         virtual TBool IsSilent() const = 0;
00109 
00115         virtual MProEngProfileName& ProfileName() const = 0;
00116 
00122         virtual MProEngTones& ProfileTones() const = 0;
00123 
00129         virtual MProEngToneSettings& ToneSettings() const = 0;
00130 
00157         virtual void CommitChangeL() = 0;
00158 
00159     private: // Extension interface
00160 
00164         virtual MProEngProfileExt* Extension() { return NULL; }
00165 
00166     };
00167 
00168 //  MPROENGPROFILE_H
00169 #endif
00170 
00171 // End of File
00172 

Copyright © Nokia Corporation 2001-2008
Back to top