camerauis/cameraxui/cxengine/tsrc/fakeclasses/cxefakevideorecorderutility.cpp
changeset 51 ccc0e7e3344f
parent 43 0e652f8f1fbd
equal deleted inserted replaced
45:24fd82631616 51:ccc0e7e3344f
    33                               TInt aPriority,
    33                               TInt aPriority,
    34                               TMdaPriorityPreference aPref)
    34                               TMdaPriorityPreference aPref)
    35                               : mObserver( &aObserver )
    35                               : mObserver( &aObserver )
    36 {
    36 {
    37     CX_DEBUG_IN_FUNCTION();
    37     CX_DEBUG_IN_FUNCTION();
       
    38     Q_UNUSED(aPriority);
       
    39     Q_UNUSED(aPref);
    38 }
    40 }
    39 
    41 
    40 void CxeFakeVideoRecorderUtility::open(int cameraHandle,
    42 void CxeFakeVideoRecorderUtility::open(int cameraHandle,
    41                                        const QString &/*filename*/,
    43                                        const QString &/*filename*/,
    42                                        const QString &/*fileMimeType*/,
    44                                        const QString &/*fileMimeType*/,
    43                                        const QString &/*supplier*/,
    45                                        const QString &/*supplier*/,
    44                                        const QString &/*videoType*/,
    46                                        const QString &/*videoType*/,
    45                                        const QString &/*audioType*/)
    47                                        const QString &/*audioType*/)
    46 {
    48 {
    47     CX_DEBUG_ENTER_FUNCTION();
    49     CX_DEBUG_ENTER_FUNCTION();
       
    50     Q_UNUSED(cameraHandle);
    48     mObserver->MvruoOpenComplete(KErrNone);
    51     mObserver->MvruoOpenComplete(KErrNone);
    49     CX_DEBUG_EXIT_FUNCTION();
    52     CX_DEBUG_EXIT_FUNCTION();
    50 }
    53 }
    51 
    54 
    52 void CxeFakeVideoRecorderUtility::setVideoFrameSize(const QSize &/*size*/)
    55 void CxeFakeVideoRecorderUtility::setVideoFrameSize(const QSize &/*size*/)
    55 }
    58 }
    56 
    59 
    57 void CxeFakeVideoRecorderUtility::setVideoFrameRate(int rate)
    60 void CxeFakeVideoRecorderUtility::setVideoFrameRate(int rate)
    58 {
    61 {
    59     CX_DEBUG_IN_FUNCTION();
    62     CX_DEBUG_IN_FUNCTION();
       
    63     Q_UNUSED(rate);
    60 }
    64 }
    61 
    65 
    62 void CxeFakeVideoRecorderUtility::setVideoBitRate(int rate)
    66 void CxeFakeVideoRecorderUtility::setVideoBitRate(int rate)
    63 {
    67 {
    64     CX_DEBUG_IN_FUNCTION();
    68     CX_DEBUG_IN_FUNCTION();
       
    69     Q_UNUSED(rate);
    65 }
    70 }
    66 
    71 
    67 void CxeFakeVideoRecorderUtility::setAudioEnabled(bool enabled)
    72 void CxeFakeVideoRecorderUtility::setAudioEnabled(bool enabled)
    68 {
    73 {
    69     CX_DEBUG_IN_FUNCTION();
    74     CX_DEBUG_IN_FUNCTION();
       
    75     Q_UNUSED(enabled);
    70 }
    76 }
    71 
    77 
    72 void CxeFakeVideoRecorderUtility::setVideoMaxSize(int sizeInBytes)
    78 void CxeFakeVideoRecorderUtility::setVideoMaxSize(int sizeInBytes)
    73 {
    79 {
    74     CX_DEBUG_IN_FUNCTION();
    80     CX_DEBUG_IN_FUNCTION();
       
    81     Q_UNUSED(sizeInBytes);
    75 }
    82 }
    76 
    83 
    77 void CxeFakeVideoRecorderUtility::close()
    84 void CxeFakeVideoRecorderUtility::close()
    78 {
    85 {
    79     CX_DEBUG_IN_FUNCTION();
    86     CX_DEBUG_IN_FUNCTION();
    92 }
    99 }
    93 
   100 
    94 void CxeFakeVideoRecorderUtility::stop(bool asynchronous)
   101 void CxeFakeVideoRecorderUtility::stop(bool asynchronous)
    95 {
   102 {
    96     CX_DEBUG_ENTER_FUNCTION();
   103     CX_DEBUG_ENTER_FUNCTION();
       
   104     Q_UNUSED(asynchronous);
    97     mObserver->MvruoRecordComplete(KErrNone);
   105     mObserver->MvruoRecordComplete(KErrNone);
    98     CX_DEBUG_EXIT_FUNCTION();
   106     CX_DEBUG_EXIT_FUNCTION();
    99 }
   107 }
   100 
   108 
   101 void CxeFakeVideoRecorderUtility::pause()
   109 void CxeFakeVideoRecorderUtility::pause()