gsprofilesrv_plat/profiles_engine_api/inc/MProfilePresence.h
changeset 0 8c5d936e5675
equal deleted inserted replaced
-1:000000000000 0:8c5d936e5675
       
     1 /*
       
     2 * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Profile presence interface.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __MPROFILEPRESENCE_H
       
    21 #define __MPROFILEPRESENCE_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32std.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  Profile presence interface.
       
    30 *  This interface offers methods to get status message and
       
    31 *  availability attribute.
       
    32 *
       
    33 *  @lib N/A
       
    34 *  @since 2.0
       
    35 */
       
    36 class MProfilePresence
       
    37     {
       
    38     protected:  // Destructor
       
    39 
       
    40         virtual ~MProfilePresence() {};
       
    41 
       
    42     public: // New functions
       
    43 
       
    44         /**
       
    45         * Return status message of the profile.
       
    46         * @since 2.1
       
    47         * @return Status message of the profile.
       
    48         */
       
    49         virtual const TDesC& StatusMessage() const = 0;
       
    50 
       
    51         /**
       
    52         * Return availability attribute of the profile.
       
    53         * @since 2.1
       
    54         * @return Return availability attribute of the profile.
       
    55         */
       
    56         virtual TUint32 AvailabilityAttribute() const = 0;
       
    57 
       
    58     };
       
    59 
       
    60 #endif      // __MPROFILEPRESENCE_H
       
    61 
       
    62 // End of File