satui/satapp/src/satappeventprovider.cpp
changeset 12 ae8abd0db65c
child 15 d7fc66ccd6fb
equal deleted inserted replaced
0:ff3b6d0fd310 12:ae8abd0db65c
       
     1 /*
       
     2 * Copyright (c) 2010 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:
       
    15 *
       
    16 */
       
    17 
       
    18 #include <QStringList>
       
    19 #include <msatuiadapter.h>
       
    20 #include "satappeventprovider.h"
       
    21 #include "csatuiobserver.h"
       
    22 #include "tflogger.h"
       
    23 
       
    24 // ----------------------------------------------------------------------------
       
    25 // SatAppEventProvider::SatAppEventProvider
       
    26 // (other items were commented in a header).
       
    27 // ----------------------------------------------------------------------------
       
    28 //
       
    29 SatAppEventProvider::SatAppEventProvider(QObject *parent) :
       
    30     QObject(parent), mObs(NULL)
       
    31 {
       
    32     TFLOGSTRING("SATAPP: SatAppEventProvider::SatAppEventProvider call")
       
    33     TRAPD(err, mObs = CSatUiObserver::NewL())
       
    34     TFLOGSTRING2("SATAPP: SatAppEventProvider::SatAppEventProvider \
       
    35         new CSatUiObserver err=%d", err)
       
    36     
       
    37     if (KErrNone != err) {
       
    38         CloseSatUI();
       
    39     } else {
       
    40         mObs->SetImplementer(this);
       
    41         TFLOGSTRING("SATAPP: SatAppEventProvider::SatAppEventProvider")
       
    42     }  
       
    43     TFLOGSTRING("SATAPP: SatAppEventProvider::SatAppEventProvider exit")
       
    44 }
       
    45 
       
    46 // ----------------------------------------------------------------------------
       
    47 // SatAppEventProvider::~SatAppEventProvider
       
    48 // Sets a pointer to CSatUiViewAppUi object.
       
    49 // (other items were commented in a header).
       
    50 // ----------------------------------------------------------------------------
       
    51 //
       
    52 SatAppEventProvider::~SatAppEventProvider()
       
    53 {
       
    54     TFLOGSTRING("SATAPP: SatAppEventProvider::~SatAppEventProvider call")
       
    55     delete mObs;
       
    56     mObs = NULL;
       
    57     TFLOGSTRING("SATAPP: SatAppEventProvider::~SatAppEventProvider exit")
       
    58 }
       
    59 
       
    60 // ----------------------------------------------------------------------------
       
    61 // SatAppEventProvider::SetUpMenuL
       
    62 // (other items were commented in a header).
       
    63 // ----------------------------------------------------------------------------
       
    64 //
       
    65 TSatUiResponse SatAppEventProvider::SetUpMenuL(
       
    66     const TDesC &aText,
       
    67     const MDesCArray &aMenuItems,
       
    68     const CArrayFixFlat<TSatAction> */*aMenuItemNextActions*/,
       
    69     const CFbsBitmap */*aIconBitmap*/,
       
    70     //const CAknIconArray */*aItemIconsArray*/,
       
    71     const TBool aSelfExplanatoryItems,
       
    72     const TBool aHelpIsAvailable)
       
    73     {
       
    74     TFLOGSTRING("SATAPP: SatAppEventProvider::SetUpMenuL call")
       
    75 
       
    76     TSatUiResponse response(ESatSuccess);
       
    77     QString title;
       
    78     if (aText.Length() > 0) {
       
    79         title = QString::fromUtf16 (aText.Ptr(), aText.Length());
       
    80         TFLOGSTRING2("SATAPP: SatAppEventProvider::SetUpMenuL Title=%s",
       
    81             title.utf16())
       
    82         }
       
    83 
       
    84     QStringList *menuList = new QStringList();
       
    85     TFLOGSTRING("SATAPP: SatAppEventProvider::SetUpMenuL List")
       
    86 
       
    87     //Add Item
       
    88     if(menuList) {
       
    89         for (int i=0 ; i<aMenuItems.MdcaCount() ; i++) {
       
    90             QString item=QString::fromUtf16(aMenuItems.MdcaPoint(i).Ptr(),
       
    91                 aMenuItems.MdcaPoint(i).Length());
       
    92             menuList->append(item);
       
    93             }
       
    94 
       
    95         TFLOGSTRING("SATAPP: SatAppEventProvider::SetUpMenuL add item")
       
    96 
       
    97         emit setUpMenuEvent(
       
    98             response,
       
    99             title,
       
   100             *menuList,
       
   101             //const CArrayFixFlat<TSatAction> *aMenuItemNextActions,
       
   102             //const HbIcon &aIcon,
       
   103             //const CArrayFixFlat<TInt> *aMenuIcons,
       
   104             aSelfExplanatoryItems,
       
   105             aHelpIsAvailable);
       
   106 
       
   107         delete menuList;
       
   108     }
       
   109     TFLOGSTRING("SATAPP: SatAppEventProvider::SetUpMenuL exit")
       
   110 
       
   111     return response;
       
   112     }
       
   113 
       
   114 // ----------------------------------------------------------------------------
       
   115 // SatAppEventProvider::SetUpMenuL
       
   116 // (other items were commented in a header).
       
   117 // ----------------------------------------------------------------------------
       
   118 //
       
   119 TSatUiResponse SatAppEventProvider::SelectItemL(
       
   120     const TDesC &aText,
       
   121     const MDesCArray &aMenuItems,
       
   122     const CArrayFixFlat<TSatAction> */*aMenuItemNextActions*/,
       
   123     const TInt aDefaultItem,
       
   124     TUint8 &aSelection,
       
   125     const CFbsBitmap */*aIconBitmap*/,
       
   126     //const CAknIconArray */*aItemsIconArray*/,
       
   127     const TBool aSelfExplanatoryItems,
       
   128     const TBool aHelpIsAvailable)
       
   129 {
       
   130     TFLOGSTRING("SATAPP: SatAppEventProvider::SelectItemL call")
       
   131 
       
   132     TSatUiResponse response(ESatSuccess);
       
   133     aSelection = 0;
       
   134     QString title;
       
   135     if (aText.Length() > 0) {
       
   136         title=QString::fromUtf16(aText.Ptr(), aText.Length());
       
   137         TFLOGSTRING2("SATAPP: SatAppEventProvider::SelectItemL Title=%s",
       
   138             title.utf16())
       
   139         }
       
   140 
       
   141     QStringList *menuList = new QStringList();
       
   142     //Add Item
       
   143     if(menuList) {
       
   144         for (int i=0 ; i<aMenuItems.MdcaCount() ; i++) {
       
   145             QString item=QString::fromUtf16(aMenuItems.MdcaPoint(i).Ptr(),
       
   146                         aMenuItems.MdcaPoint(i).Length());
       
   147             menuList->append(item);
       
   148             }
       
   149         TFLOGSTRING("SATAPP: SatAppEventProvider::SelectItemL add item")
       
   150 
       
   151         emit selectItemEvent(
       
   152             response,
       
   153             title,
       
   154             *menuList,
       
   155             aDefaultItem,
       
   156             aSelection,
       
   157             //const CArrayFixFlat<TSatAction> *aMenuItemNextActions,
       
   158             //const HbIcon &aIcon,
       
   159             //const CArrayFixFlat<TInt> *aMenuIcons,
       
   160             aSelfExplanatoryItems,
       
   161             aHelpIsAvailable);
       
   162 
       
   163         delete menuList;
       
   164     }
       
   165     TFLOGSTRING("SATAPP: SatAppEventProvider::SelectItemL exit")
       
   166 
       
   167     return response;
       
   168 }
       
   169 
       
   170 // ----------------------------------------------------------------------------
       
   171 // SatAppEventProvider::ProfileState
       
   172 // (other items were commented in a header).
       
   173 // ----------------------------------------------------------------------------
       
   174 //
       
   175 int SatAppEventProvider::profileState()
       
   176 {
       
   177     TFLOGSTRING("SATAPP: SatAppEventProvider::ProfileState call")
       
   178     int res (0);
       
   179     if (mObs) {
       
   180        res = mObs->ProfileState();
       
   181     }
       
   182     TFLOGSTRING("SATAPP: SatAppEventProvider::ProfileState exit")
       
   183     return res;
       
   184 }
       
   185 
       
   186 // ----------------------------------------------------------------------------
       
   187 // SatAppEventProvider::MenuSelection
       
   188 // (other items were commented in a header).
       
   189 // ----------------------------------------------------------------------------
       
   190 //
       
   191 void SatAppEventProvider::menuSelection(int aMenuItem, bool aHelpRequested)
       
   192     {
       
   193     TFLOGSTRING2("SATAPP: SatAppEventProvider::MenuSelection call\
       
   194         aMenuItem=%d", aMenuItem)
       
   195     if(mObs && mObs->Adapter()) {
       
   196         mObs->Adapter()->MenuSelection(aMenuItem, aHelpRequested);
       
   197         }
       
   198 
       
   199     TFLOGSTRING("SATAPP: SatAppEventProvider::MenuSelection exit")
       
   200     }
       
   201 
       
   202 // ----------------------------------------------------------------------------
       
   203 // SatAppEventProvider::DisplayTextL
       
   204 // (other items were commented in a header).
       
   205 // ----------------------------------------------------------------------------
       
   206 //
       
   207 TSatUiResponse SatAppEventProvider::DisplayTextL(
       
   208     const TDesC &aText,
       
   209     const TDesC &aSimApplicationName,
       
   210     CFbsBitmap */*aIconBitmapDisplayText*/,
       
   211     const TBool aSelfExplanatoryIcon,
       
   212     const TBool aSustainedText,
       
   213     const TTimeIntervalSeconds aDuration,
       
   214     const TBool aWaitUserToClear)
       
   215     {
       
   216     TFLOGSTRING("SATAPP: SatAppEventProvider::DisplayTextL call")
       
   217 
       
   218     TSatUiResponse response(ESatSuccess);
       
   219     QString title;
       
   220     if (aText.Length() > 0) {
       
   221         title=QString::fromUtf16(aText.Ptr(), aText.Length());
       
   222         TFLOGSTRING2("SATAPP: SatAppEventProvider::DisplayTextL \
       
   223             Title=%s", title.utf16())
       
   224         }
       
   225 
       
   226     QString appName;
       
   227     if (aSimApplicationName.Length() > 0) {
       
   228          appName=QString::fromUtf16(aSimApplicationName.Ptr(),
       
   229                 aSimApplicationName.Length());
       
   230          TFLOGSTRING2("SATAPP: SatAppEventProvider::DisplayTextL \
       
   231              appName=%s", appName.utf16())
       
   232         }
       
   233 
       
   234     int timeInterval = aDuration.Int();
       
   235     TFLOGSTRING2("SATAPP: SatAppEventProvider::DisplayTextL: \
       
   236         timeInterval=%d", timeInterval)
       
   237 
       
   238     bool isSelfExplanatoryIcon = (aSelfExplanatoryIcon) ? true : false;
       
   239 
       
   240     emit displayTextEvent(
       
   241        response,
       
   242        title,
       
   243        appName,
       
   244        //const HbIcon &aIcon,
       
   245        isSelfExplanatoryIcon,
       
   246        aSustainedText,
       
   247        timeInterval,
       
   248        aWaitUserToClear);
       
   249 
       
   250     TFLOGSTRING("SATAPP: SatAppEventProvider::DisplayTextL exit")
       
   251     return response;
       
   252     }
       
   253 
       
   254 // ----------------------------------------------------------------------------
       
   255 // SatAppEventProvider::GetInputLL
       
   256 // (other items were commented in a header).
       
   257 // ----------------------------------------------------------------------------
       
   258 //
       
   259 TSatUiResponse SatAppEventProvider::GetInputL(
       
   260     const TDesC &aText,
       
   261     const TSatCharacterSet aCharacterSet,
       
   262     TDes &aInput,
       
   263     const TInt aMinLength,
       
   264     const TInt aMaxLength,
       
   265     const TBool aHideInput,
       
   266     const TBool aGetInkey,
       
   267     const CFbsBitmap */*aIconBitmapGetInput*/,
       
   268     const TBool aSelfExplanatory,
       
   269     TUint &aDuration)
       
   270 {
       
   271     TFLOGSTRING("SATAPP: SatAppEventProvider::GetInputL call")
       
   272 
       
   273     TSatUiResponse response(ESatSuccess);
       
   274 
       
   275     QString title;
       
   276     if (aText.Length() > 0) {
       
   277         title=QString::fromUtf16(aText.Ptr(), aText.Length());
       
   278         TFLOGSTRING2("SATAPP: SatAppEventProvider::GetInputL \
       
   279             Title=%s", title.utf16())
       
   280         }
       
   281 
       
   282     QString inputText;
       
   283     if (aInput.Length() > 0) {
       
   284         inputText = QString::fromUtf16(aInput.Ptr(), aInput.Length());
       
   285         TFLOGSTRING2("SATAPP: SatAppEventProvider::GetInputL \
       
   286             inputText=%s", inputText.utf16())
       
   287         }
       
   288     bool isSelfExplanatory = aSelfExplanatory;
       
   289     unsigned int duration = aDuration;
       
   290     //QPixmap *iconBitmapGetInput = QPixmap::fromSymbianCFbsBitmap(CFbsBitmap *aIconBitmapGetInput);
       
   291      if (aGetInkey) {
       
   292         //Get Inkey
       
   293          emit getInkeyEvent(
       
   294              response,
       
   295              title,
       
   296              aCharacterSet,
       
   297              inputText,
       
   298              //iconBitmapGetInput,
       
   299              isSelfExplanatory,
       
   300              duration);
       
   301          TFLOGSTRING("SATAPP: SatAppEventProvider::GetInputL: GetInkey")
       
   302          aInput.Copy(reinterpret_cast<const TUint16*>(inputText.utf16()), inputText.length());
       
   303      } else {
       
   304         // Get Input
       
   305         bool hideInput = aHideInput;
       
   306         int minLength = aMinLength;
       
   307         int maxLength = aMaxLength;
       
   308         emit getInputEvent(
       
   309             response,
       
   310             title,
       
   311             aCharacterSet,
       
   312             inputText,
       
   313             minLength,
       
   314             maxLength,
       
   315             hideInput,
       
   316             //iconBitmapGetInput,
       
   317             isSelfExplanatory,
       
   318             duration);
       
   319         int length = inputText.length();
       
   320         if (length > maxLength) {
       
   321             length = maxLength;
       
   322         }
       
   323         TFLOGSTRING("SATAPP: SatAppEventProvider::GetInputL: GetInput")
       
   324         TFLOGSTRING2( "SATAPP: SatAppEventProvider::GetInputL:GetInput \
       
   325         text=%s", inputText.utf16() )
       
   326         aInput.Copy(reinterpret_cast<const TUint16*>(inputText.utf16()), length);
       
   327         TFLOGSTRING2("SATAPP: SatAppEventProvider::GetInputL aInput=%S", &aInput)
       
   328     }
       
   329     TFLOGSTRING("SATAPP: SatAppEventProvider::GetInputL exit")
       
   330     return response;
       
   331     }
       
   332 
       
   333     // ----------------------------------------------------------------------------
       
   334 // SatAppEventProvider::GetYesNoL
       
   335 // (other items were commented in a header).
       
   336 // ----------------------------------------------------------------------------
       
   337 //
       
   338 TSatUiResponse SatAppEventProvider::GetYesNoL(
       
   339     const TDesC &aText,
       
   340     const TSatCharacterSet aCharacterSet,
       
   341     TChar &aInkey,
       
   342     const CFbsBitmap */*aIconBitmap*/,
       
   343     const TBool aSelfExplanatory,
       
   344     TUint &aDuration,
       
   345     const TBool aImmediateDigitResponse)
       
   346 {
       
   347     TFLOGSTRING("SATAPP: SatAppEventProvider::GetYesNoL call")
       
   348     TSatUiResponse response(ESatSuccess);
       
   349     QString text;
       
   350     if (aText.Length() > 0) {
       
   351         text=QString::fromUtf16(aText.Ptr(), aText.Length());
       
   352         TFLOGSTRING2("SATAPP: SatAppEventProvider::GetYesNoL \
       
   353                 aText=%s", text.utf16())
       
   354     }
       
   355 
       
   356     unsigned int inKey = static_cast < TUint >(aInkey);
       
   357     TFLOGSTRING2("SATAPP: SatAppEventProvider::GetYesNoL: inkey=%d",
       
   358      inKey)
       
   359 
       
   360     bool selfExplanatory = aSelfExplanatory;
       
   361     bool immediateDigitResponse = aImmediateDigitResponse;
       
   362     unsigned int duration = aDuration;
       
   363 
       
   364     emit getYesNoEvent(
       
   365         response,
       
   366         text,
       
   367         aCharacterSet,
       
   368         inKey,
       
   369         //const TSatIconId &aIconId,
       
   370         selfExplanatory,
       
   371         duration,
       
   372         immediateDigitResponse);
       
   373 
       
   374     aInkey = inKey;
       
   375     TFLOGSTRING2("SATAPP: SatAppEventProvider::GetYesNoL key=%d", inKey)
       
   376     TFLOGSTRING("SATAPP: SatAppEventProvider::GetYesNoL exit")
       
   377     return response;
       
   378 }
       
   379 
       
   380 // ----------------------------------------------------------------------------
       
   381 // SatAppEventProvider::ConfirmSendL
       
   382 // (other items were commented in a header).
       
   383 // ----------------------------------------------------------------------------
       
   384 //
       
   385 TSatUiResponse SatAppEventProvider::ConfirmSendL(
       
   386     const TDesC &aText,
       
   387     TBool &aActionAccepted,
       
   388     TInt aType)
       
   389 {
       
   390     TFLOGSTRING("SATAPP: SatAppEventProvider::ConfirmSendL call")
       
   391     TSatUiResponse response(ESatSuccess);
       
   392     QString text;
       
   393     if (aText.Length() > 0) {
       
   394         text=QString::fromUtf16(aText.Ptr(), aText.Length());
       
   395         TFLOGSTRING2("SATAPP: SatAppEventProvider::GetYesNoL \
       
   396                 aText=%s", text.utf16())
       
   397     }
       
   398     bool actionAccepted = aActionAccepted;
       
   399     int type = aType;
       
   400     emit confirmSendEvent(
       
   401         response,
       
   402         text,
       
   403         actionAccepted,
       
   404         type);
       
   405     TFLOGSTRING("SATAPP: SatAppEventProvider::ConfirmSendL exit")
       
   406     return response;
       
   407 }
       
   408 
       
   409 // ----------------------------------------------------------------------------
       
   410 // SatAppEventProvider::ShowSmsWaitNoteL
       
   411 // (other items were commented in a header).
       
   412 // ----------------------------------------------------------------------------
       
   413 //
       
   414 void SatAppEventProvider::ShowSmsWaitNoteL(
       
   415     const TDesC &aText,
       
   416     const CFbsBitmap */*aIconBitmapSendSM*/,
       
   417     const TBool aSelfExplanatoryIcon)
       
   418 {
       
   419     TFLOGSTRING("SATAPP: SatAppEventProvider::ShowSmsWaitNoteL call")
       
   420     QString title;
       
   421     if (aText.Length() > 0) {
       
   422         title = QString::fromUtf16 (aText.Ptr(), aText.Length());
       
   423         TFLOGSTRING2("SATAPP: SatAppEventProvider::ShowSmsWaitNoteL \
       
   424             Title=%s", title.utf16())
       
   425     }
       
   426     bool selfExplanatoryIcon = aSelfExplanatoryIcon;
       
   427 
       
   428     emit showSmsWaitNoteEvent(
       
   429         title,
       
   430         selfExplanatoryIcon);
       
   431     TFLOGSTRING("SATAPP: SatAppEventProvider::ShowSmsWaitNoteL exit")
       
   432 }
       
   433 
       
   434 // ----------------------------------------------------------------------------
       
   435 // SatAppEventProvider::ConfirmSetUpCallL
       
   436 // (other items were commented in a header).
       
   437 // ----------------------------------------------------------------------------
       
   438 //
       
   439 void SatAppEventProvider::ConfirmSetUpCallL(
       
   440     const TDesC &aText,
       
   441     const TDesC &aSimAppName,
       
   442     TBool &aActionAccepted,
       
   443     const CFbsBitmap */*aIconBitmap*/,
       
   444     const TBool /*aSelfExplanatory*/)
       
   445     {
       
   446     TFLOGSTRING("SATAPP: SatAppEventProvider::ConfirmSetUpCallL call")
       
   447     QString text;
       
   448     if (aText.Length() > 0) {
       
   449         text = QString::fromUtf16 (aText.Ptr(), aText.Length());
       
   450         TFLOGSTRING2("SATAPP: SatAppEventProvider::ConfirmSetUpCallL \
       
   451             text=%s", text.utf16())
       
   452     }
       
   453     
       
   454     QString title;
       
   455     if (aText.Length() > 0) {
       
   456         title = QString::fromUtf16 (aSimAppName.Ptr(), aSimAppName.Length());
       
   457         TFLOGSTRING2("SATAPP: SatAppEventProvider::ConfirmSetUpCallL \
       
   458             Title=%s", title.utf16())
       
   459     }
       
   460     bool actionAccepted = aActionAccepted;
       
   461 
       
   462     emit showSetUpCallConfirmEvent(
       
   463         text,
       
   464         title,
       
   465         actionAccepted);
       
   466     TFLOGSTRING("SATAPP: SatAppEventProvider::ConfirmSetUpCallL exit")    
       
   467     }
       
   468 
       
   469 // ----------------------------------------------------------------------------
       
   470 // SatAppEventProvider::ShowDtmfWaitNoteL
       
   471 // (other items were commented in a header).
       
   472 // ----------------------------------------------------------------------------
       
   473 //
       
   474 TSatUiResponse SatAppEventProvider::ShowDtmfWaitNoteL(
       
   475     const TDesC &aText,
       
   476     const CFbsBitmap */*aIconBitmapSendSM*/,
       
   477     const TBool /*aSelfExplanatoryIcon*/)
       
   478 {
       
   479     TSatUiResponse response(ESatSuccess);
       
   480     TFLOGSTRING("SATAPP: SatAppEventProvider::ShowDtmfWaitNoteL call")
       
   481     QString title;
       
   482     if (aText.Length() > 0) {
       
   483         title = QString::fromUtf16 (aText.Ptr(), aText.Length());
       
   484         TFLOGSTRING2("SATAPP: SatAppEventProvider::ShowDtmfWaitNoteL \
       
   485             Title=%s", title.utf16())
       
   486     }
       
   487     emit showDtmfWaitNoteEvent(
       
   488         response,
       
   489         title);
       
   490     TFLOGSTRING("SATAPP: SatAppEventProvider::ShowDtmfWaitNoteL exit")
       
   491     return response;
       
   492 }
       
   493 
       
   494 // ----------------------------------------------------------------------------
       
   495 // SatAppEventProvider::clearScreen
       
   496 // (other items were commented in a header).
       
   497 // ----------------------------------------------------------------------------
       
   498 //
       
   499 void SatAppEventProvider::ClearScreen()
       
   500 {
       
   501     TFLOGSTRING("SATAPP: SatAppEventProvider::ClearScreen call")
       
   502     emit clearScreenEvent();
       
   503     TFLOGSTRING("SATAPP: SatAppEventProvider::ClearScreen exit")
       
   504 }
       
   505 
       
   506 // ----------------------------------------------------------------------------
       
   507 // SatAppEventProvider::CloseSatUI
       
   508 // (other items were commented in a header).
       
   509 // ----------------------------------------------------------------------------
       
   510 //
       
   511 void SatAppEventProvider::CloseSatUI()
       
   512 {
       
   513     TFLOGSTRING("SATAPP: SatAppEventProvider::CloseSatUI call")
       
   514     emit closeUiEvent();
       
   515     TFLOGSTRING("SATAPP: SatAppEventProvider::CloseSatUI exit")
       
   516 }
       
   517 
       
   518 //-----------------------------------------------------------------------------
       
   519 // SatAppEventProvider::StopShowWaitNote
       
   520 // (other items were commented in a header).
       
   521 // ----------------------------------------------------------------------------
       
   522 //    
       
   523 void SatAppEventProvider::StopShowWaitNote()
       
   524 {
       
   525     TFLOGSTRING("SATAPP: SatAppEventProvider::StopShowWaitNote call")
       
   526     emit stopShowWaitNoteEvent();
       
   527     TFLOGSTRING("SATAPP: SatAppEventProvider::StopShowWaitNote exit")
       
   528 }
       
   529 
       
   530 //-----------------------------------------------------------------------------
       
   531 // SatAppEventProvider::userCancelDtmfResponse
       
   532 // (other items were commented in a header).
       
   533 // ----------------------------------------------------------------------------
       
   534 //
       
   535 void SatAppEventProvider::userCancelDtmfResponse()
       
   536 {
       
   537     TFLOGSTRING("SATAPP: SatAppEventProvider::userCancelDtmfResponse call")
       
   538     mObs->Adapter()->SessionTerminated( ESessionCancel );
       
   539     TFLOGSTRING("SATAPP: SatAppEventProvider::userCancelDtmfResponse exit")
       
   540 }
       
   541 
       
   542  //End of file