1.1 --- a/epoc32/include/mw/mproengprofilenamearrayobserver.h Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/mw/mproengprofilenamearrayobserver.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,90 @@
1.4 -mproengprofilenamearrayobserver.h
1.5 +/*
1.6 +* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
1.7 +* All rights reserved.
1.8 +* This component and the accompanying materials are made available
1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.10 +* which accompanies this distribution, and is available
1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.12 +*
1.13 +* Initial Contributors:
1.14 +* Nokia Corporation - initial contribution.
1.15 +*
1.16 +* Contributors:
1.17 +*
1.18 +* Description: Profile name array modification observer interface.
1.19 +*
1.20 +*/
1.21 +
1.22 +
1.23 +
1.24 +#ifndef MPROENGPROFILENAMEARRAYOBSERVER_H
1.25 +#define MPROENGPROFILENAMEARRAYOBSERVER_H
1.26 +
1.27 +// INCLUDES
1.28 +#include <e32def.h>
1.29 +
1.30 +// FORWARD DECLARATIONS
1.31 +class MProEngProfileNameArrayObserverExt;
1.32 +
1.33 +// CLASS DECLARATION
1.34 +
1.35 +/**
1.36 +* Profile name array modification observer interface.
1.37 +* Implement this interface to get notifications of changes in the data of a
1.38 +* selected profile.
1.39 +*
1.40 +* @lib ProfileEngine.lib
1.41 +* @since Series 60 3.1
1.42 +*/
1.43 +class MProEngProfileNameArrayObserver
1.44 + {
1.45 + public: // New functions
1.46 +
1.47 + /**
1.48 + * Abstract method for handling profile name array modification event.
1.49 + * This method is called when the contents of profile name array is
1.50 + * changed some way. These cases include:
1.51 + * - a profile has been created,
1.52 + * - a profile has been deleted,
1.53 + * - the name of a profile has been changed.
1.54 + * Note, that when there has been many simultaneous changes in Profiles
1.55 + * data so that it cannot be identified what has changed, then this
1.56 + * method may be called even if nothing hasn't actually changed in the
1.57 + * name array content.
1.58 + * @since S60 3.1
1.59 + */
1.60 + virtual void HandleProfileNameArrayModificationL() = 0;
1.61 +
1.62 + /**
1.63 + * Error handler for handling the errors in the profile name array
1.64 + * modification notification process.
1.65 + * If HandleProfileNameArrayModificationL() leaves, this method is
1.66 + * called with the leave code. This method has default empty
1.67 + * implementation.
1.68 + * @since S60 3.1
1.69 + * @param aError the code of the error which occurred during
1.70 + * notification process.
1.71 + */
1.72 + virtual void HandleProfileNameArrayNotificationError(
1.73 + TInt /* aError */ ) {};
1.74 +
1.75 + protected:
1.76 +
1.77 + /**
1.78 + * Destructor.
1.79 + */
1.80 + virtual ~MProEngProfileNameArrayObserver() {}
1.81 +
1.82 + private: // Extension interface
1.83 +
1.84 + /**
1.85 + * This member is internal and not intended for use.
1.86 + */
1.87 + virtual MProEngProfileNameArrayObserverExt* Extension() { return NULL; }
1.88 +
1.89 + };
1.90 +
1.91 +#endif // MPROENGPROFILENAMEARRAYOBSERVER_H
1.92 +
1.93 +// End of File
1.94 +