radioengine/utils/api/radioengineutils.h
changeset 41 3a6b55c6390c
parent 28 075425b8d9a4
equal deleted inserted replaced
33:11b6825f0862 41:3a6b55c6390c
    47      *
    47      *
    48      * @return Reference to file server session
    48      * @return Reference to file server session
    49      */
    49      */
    50     IMPORT_C static RFs& FsSession();
    50     IMPORT_C static RFs& FsSession();
    51 
    51 
    52     /**
       
    53      * Converts a frequency to a descriptor format.
       
    54      * Returned descriptor is left in CleanupStack.
       
    55      *
       
    56      * @param   aFreq           Frequency, in kilohertz, to convert.
       
    57      * @param   aDecimalCount   Decimal count to use.
       
    58      * @param   aResourceId     Resource ID of the format string, or <code>KErrNotFound</code> if no such resource is to be used.
       
    59      * @return  The formatted descriptor. Ownership is transferred.
       
    60      */
       
    61     IMPORT_C static HBufC* ReadFrequencyStringLC( TUint32 aFreq, TInt aDecimalCount, TInt aResourceId = KErrNotFound );
       
    62 
       
    63     /**
       
    64      * Writes formatted frequency to a give descriptor.
       
    65      *
       
    66      * @param   aDest           Destination descriptor.
       
    67      * @param   aFreq           Frequency, in kilohertz, to convert.
       
    68      * @param   aDecimalCount   Decimal count to use.
       
    69      * @param   aFormat         Format read from resource.
       
    70      */
       
    71     IMPORT_C static void FormatFrequencyString( TDes& aDest, TUint32 aFreq, TInt aDecimalCount, TDesC& aFormat );
       
    72 
       
    73     };
    52     };
    74 
    53 
    75 #endif // RADIOENGINEUTILS_H
    54 #endif // RADIOENGINEUTILS_H