messagingapp/msgui/msguiutils/inc/msgmediautil.h
changeset 73 ecf6a73a9186
parent 67 fc91263aee62
equal deleted inserted replaced
68:e8a69c93c830 73:ecf6a73a9186
    16  */
    16  */
    17 
    17 
    18 #ifndef MSG_MEDIA_UTIL_H
    18 #ifndef MSG_MEDIA_UTIL_H
    19 #define MSG_MEDIA_UTIL_H
    19 #define MSG_MEDIA_UTIL_H
    20 
    20 
    21 #ifdef MSGUI_UNIT_TEST
    21 #ifdef MSGUIUTILS_UNIT_TEST
    22  #define MSGUI_UTILS_DLL_EXPORT
    22  #define MSGUI_UTILS_DLL_EXPORT
    23 #else
    23 #else
    24 #ifdef BUILD_MSGUI_UTILS_DLL
    24 #ifdef BUILD_MSGUI_UTILS_DLL
    25  #define MSGUI_UTILS_DLL_EXPORT Q_DECL_EXPORT
    25  #define MSGUI_UTILS_DLL_EXPORT Q_DECL_EXPORT
    26 #else
    26 #else
    60      * @param mediaFile file needs to be parsed to get duration 
    60      * @param mediaFile file needs to be parsed to get duration 
    61      * @return media duration in miliseconds
    61      * @return media duration in miliseconds
    62      */
    62      */
    63     TInt mediaDurationL(const TDesC& mediaFile);
    63     TInt mediaDurationL(const TDesC& mediaFile);
    64     
    64     
    65 #ifdef MSGUI_UNIT_TEST
    65 #ifdef MSGUIUTILS_UNIT_TEST
    66     /**
    66     /**
    67      * Unit Testing
    67      * Unit Testing
    68      */
    68      */
    69     friend class TestMsgMediaUtil;
    69     friend class TestMsgMediaUtil;
    70 #endif
    70 #endif