messagingapp/smartmessaging/ringbc/src/ringbc.cpp
changeset 31 ebfee66fde93
child 43 35b64624a9e7
equal deleted inserted replaced
30:6a20128ce557 31:ebfee66fde93
       
     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  *     A class which takes care of reading the possible new
       
    16  *     service centres from SIM and adds them to pda-side Sms Settings.
       
    17  *
       
    18  */
       
    19 
       
    20 // INCLUDE FILES
       
    21 
       
    22 #include <hbmessagebox.h>
       
    23 
       
    24 #include "ringbc.h"
       
    25 #include "ringbc_p.h"
       
    26 #include "ringbctoneconverter.h"
       
    27 #include "s60qconversions.h"
       
    28 #include "debugtraces.h"
       
    29 
       
    30 // ================= MEMBER FUNCTIONS =======================
       
    31 
       
    32 // ----------------------------------------------------------------------------
       
    33 // RingBc::RingBc
       
    34 // @see ringbc.h
       
    35 // ----------------------------------------------------------------------------
       
    36 RingBc::RingBc()
       
    37     {
       
    38     QDEBUG_WRITE("RingBc::RingBc : Enter")
       
    39     d_ptr = new RingBcPrivate();
       
    40     QDEBUG_WRITE("RingBc::RingBc : Exit")
       
    41     }
       
    42 
       
    43 // ----------------------------------------------------------------------------
       
    44 // RingBc::RingBc
       
    45 // @see ringbc.h
       
    46 // ----------------------------------------------------------------------------
       
    47 RingBc::~RingBc()
       
    48     {
       
    49     QDEBUG_WRITE("RingBc::~RingBc : Enter")
       
    50     delete d_ptr;	
       
    51     QDEBUG_WRITE("~RingBc::RingBc : Exit")
       
    52     }
       
    53 
       
    54 // ----------------------------------------------------------------------------
       
    55 // RingBc::saveTone
       
    56 // @see ringbc.h
       
    57 // ----------------------------------------------------------------------------
       
    58 void RingBc::saveTone(const QString &path)
       
    59     {
       
    60     QDEBUG_WRITE("RingBc::saveTone : Enter")
       
    61     d_ptr->saveTone(path);
       
    62     QDEBUG_WRITE("RingBc::saveTone : Exit")
       
    63     }
       
    64 
       
    65 // ----------------------------------------------------------------------------
       
    66 // RingBc::toneTitle
       
    67 // @see ringbc.h
       
    68 // ----------------------------------------------------------------------------
       
    69 QString RingBc::toneTitle(const QString &path)
       
    70     {
       
    71     QDEBUG_WRITE("RingBc::toneTitle : Enter")
       
    72     return d_ptr->toneTitle(path);
       
    73     }
       
    74 
       
    75 //  End of File