mmsharing/livecommsui/lcuiengine/tsrc/win32/lcconfiguration.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     1 /*
       
     2 * Copyright (c) 2009 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 #ifndef LCCONFIGURATION_H
       
    19 #define LCCONFIGURATION_H
       
    20 
       
    21 #include <QXmlDefaultHandler>
       
    22 
       
    23 
       
    24 class LcConfiguration : public QXmlDefaultHandler
       
    25 {
       
    26 public: // Constructors and destructor
       
    27     LcConfiguration();
       
    28     ~LcConfiguration();
       
    29 
       
    30 public:
       
    31     int parse();
       
    32 
       
    33 protected: // From QXmlContentHandler
       
    34     bool startElement(
       
    35         const QString& namespaceURI,
       
    36         const QString& localName,
       
    37         const QString& qName,
       
    38         const QXmlAttributes& atts);
       
    39 
       
    40 public: // Data
       
    41     int mLayout;
       
    42     QString mSessionTitle;
       
    43     QString mRecipient;
       
    44     QString mPhoneNumber;
       
    45     int mTimerDuration;
       
    46 };
       
    47 
       
    48 
       
    49 #endif // LCCONFIGURATION_H
       
    50 
       
    51 
       
    52 
       
    53 
       
    54