camerauis/cameraxui/cxengine/src/cxegeotaggingtrail.cpp
changeset 46 c826656d6714
parent 41 67457b2ffb33
equal deleted inserted replaced
42:feebad15db8c 46:c826656d6714
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 #include "cxutils.h"
    18 #include "cxutils.h"
    19 #include "cxegeotaggingtrail.h"
    19 #include "cxegeotaggingtrail.h"
    20 #include "cxegeotaggingtrailprivate.h"
    20 #ifdef Q_OS_SYMBIAN
       
    21 #include "cxegeotaggingtrail_symbian_p.h"
       
    22 #else
       
    23 #include "cxegeotaggingtrail_desktop_p.h"
       
    24 #endif // ifdef Q_OS_SYMBIAN
    21 
    25 
    22 /*!
    26 /*!
    23 * Constructor
    27 * Constructor
    24 */
    28 */
    25 CxeGeoTaggingTrail::CxeGeoTaggingTrail(CxeStillCaptureControl &stillControl,
    29 CxeGeoTaggingTrail::CxeGeoTaggingTrail(CxeStillCaptureControl &stillControl,
    30     // connect signal state changed signal.
    34     // connect signal state changed signal.
    31     connect(d_ptr, SIGNAL(stateChanged(CxeGeoTaggingTrail::State, CxeError::Id)), 
    35     connect(d_ptr, SIGNAL(stateChanged(CxeGeoTaggingTrail::State, CxeError::Id)), 
    32             this, SIGNAL(stateChanged(CxeGeoTaggingTrail::State, CxeError::Id)),
    36             this, SIGNAL(stateChanged(CxeGeoTaggingTrail::State, CxeError::Id)),
    33             Qt::UniqueConnection);
    37             Qt::UniqueConnection);
    34 }
    38 }
    35 
       
    36 
    39 
    37 /*!
    40 /*!
    38 * Destructor
    41 * Destructor
    39 */
    42 */
    40 CxeGeoTaggingTrail::~CxeGeoTaggingTrail()
    43 CxeGeoTaggingTrail::~CxeGeoTaggingTrail()
    58 {
    61 {
    59     Q_D(CxeGeoTaggingTrail);
    62     Q_D(CxeGeoTaggingTrail);
    60     d->stop();
    63     d->stop();
    61 }
    64 }
    62 
    65 
    63 
       
    64 
       
    65 /*!
    66 /*!
    66 * Returns current state of Geo-tagging trail.
    67 * Returns current state of Geo-tagging trail.
    67 */
    68 */
    68 CxeGeoTaggingTrail::State CxeGeoTaggingTrail::state()
    69 CxeGeoTaggingTrail::State CxeGeoTaggingTrail::state()
    69 {
    70 {