phone_plat/3d_ringing_tone_enabler_api/inc/c3dringingtoneinterface.h
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 51 f39ed5e045e0
child 62 5266b1f337bd
equal deleted inserted replaced
4:c84cf270c54f 21:92ab7f8d0eab
    75         * integer value.
    75         * integer value.
    76         * @param aAttributeKey An enum of T3DRingingToneInterfaceAttr.
    76         * @param aAttributeKey An enum of T3DRingingToneInterfaceAttr.
    77         * @param aValue Attribute integer value.
    77         * @param aValue Attribute integer value.
    78         * @return KErrNone, attribute set, no errors
    78         * @return KErrNone, attribute set, no errors
    79         *         KErrArgument, attribute not set, argument error
    79         *         KErrArgument, attribute not set, argument error
    80         *		  Some system wide Symbian error, attribute not set
    80         *         Some system wide Symbian error, attribute not set
    81         */
    81         */
    82         virtual TInt SetAttr( T3DRingingToneInterfaceAttr aAttributeKey, 
    82         virtual TInt SetAttr( T3DRingingToneInterfaceAttr aAttributeKey, 
    83         					  TInt aValue ) = 0;
    83                               TInt aValue ) = 0;
    84 
    84 
    85         /**
    85         /**
    86         * Set 3D ringing tone interface attribute with specific 
    86         * Set 3D ringing tone interface attribute with specific 
    87         * string value.
    87         * string value.
    88         * @param aAttributeKey An enum of T3DRingingToneInterfaceAttr.
    88         * @param aAttributeKey An enum of T3DRingingToneInterfaceAttr.
    89         * @param aValue Attribute string value.
    89         * @param aValue Attribute string value.
    90         * @return KErrNone, attribute set, no errors
    90         * @return KErrNone, attribute set, no errors
    91         *         KErrArgument, attribute not set, argument error
    91         *         KErrArgument, attribute not set, argument error
    92         *		  Some system wide Symbian error, attribute not set
    92         *         Some system wide Symbian error, attribute not set
    93         */
    93         */
    94         virtual TInt SetAttr( T3DRingingToneInterfaceAttr aAttributeKey, 
    94         virtual TInt SetAttr( T3DRingingToneInterfaceAttr aAttributeKey, 
    95         					  const TDesC& aValue ) = 0;
    95                               const TDesC& aValue ) = 0;
    96 
    96 
    97         /**
    97         /**
    98         * Set 3D ringing tone interface attribute value any of type.
    98         * Set 3D ringing tone interface attribute value any of type.
    99         * @param aAttributeKey This can be for example one of the 
    99         * @param aAttributeKey This can be for example one of the 
   100         * player utility classes (see T3DRingingToneInterfacePlayerAttr).
   100         * player utility classes (see T3DRingingToneInterfacePlayerAttr).
   101         * This method is left extendable.
   101         * This method is left extendable.
   102         * @param aValue Attribute value can be any.
   102         * @param aValue Attribute value can be any.
   103         * @return KErrNone, attribute set, no errors
   103         * @return KErrNone, attribute set, no errors
   104         *         KErrArgument, attribute not set, argument error
   104         *         KErrArgument, attribute not set, argument error
   105         *		  Some system wide Symbian error, attribute not set
   105         *         Some system wide Symbian error, attribute not set
   106         */
   106         */
   107         virtual TInt SetAttr( TInt aAttributeKey, TAny* aValue ) = 0;
   107         virtual TInt SetAttr( TInt aAttributeKey, TAny* aValue ) = 0;
   108 
   108 
   109         /**
   109         /**
   110         * Start playing 3D ringing tone.
   110         * Start playing 3D ringing tone.