remotemgmt_plat/syncml_ds_customization_api/tsrc/synchconfigvalidator/customdatasynchconfigvalidatorenginewrapper.cpp
branchRCL_3
changeset 26 19bba8228ff0
parent 25 b183ec05bd8c
child 27 5cc2995847ea
equal deleted inserted replaced
25:b183ec05bd8c 26:19bba8228ff0
     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 // CLASS HEADER
       
    19 #include "customdatasynchconfigvalidatorenginewrapper.h"
       
    20 
       
    21 // INTERNAL INCLUDES
       
    22 #include "customdatasynchconfigvalidatorengine_p.h"
       
    23 
       
    24 // ----------------------------------------------------------------------------
       
    25 CustomDataSynchConfigValidatorEngineWrapper::CustomDataSynchConfigValidatorEngineWrapper (QObject* parent):
       
    26 QObject(parent),engine(new CustomDataSynchConfigValidatorEngine(this))
       
    27 {
       
    28 }
       
    29 
       
    30 // ----------------------------------------------------------------------------
       
    31 CustomDataSynchConfigValidatorEngineWrapper::~CustomDataSynchConfigValidatorEngineWrapper()
       
    32 {
       
    33 }
       
    34 
       
    35 // ----------------------------------------------------------------------------
       
    36 bool CustomDataSynchConfigValidatorEngineWrapper::dataSynchCenrepExists()
       
    37 {
       
    38     return engine->dataSynchCenrepExists();
       
    39 }
       
    40 
       
    41 // ----------------------------------------------------------------------------
       
    42 bool CustomDataSynchConfigValidatorEngineWrapper::operatordataSynchCenrepExists()
       
    43 {
       
    44     return engine->operatordataSynchCenrepExists();
       
    45 }
       
    46 
       
    47 // ----------------------------------------------------------------------------
       
    48 bool CustomDataSynchConfigValidatorEngineWrapper::operatordataSynchErrorCenrepExists()
       
    49 {
       
    50     return engine->operatordataSynchErrorCenrepExists();
       
    51 }
       
    52 
       
    53 // ----------------------------------------------------------------------------
       
    54 bool CustomDataSynchConfigValidatorEngineWrapper::customSynchProfilesAllowed()
       
    55 {
       
    56     return engine->customSynchProfilesAllowed();
       
    57 }
       
    58 
       
    59 // ----------------------------------------------------------------------------
       
    60 bool CustomDataSynchConfigValidatorEngineWrapper::configuredContactsAdapterExists(QString & errorMsg)
       
    61 {
       
    62     return engine->configuredContactsAdapterExists(errorMsg);
       
    63 }
       
    64 
       
    65 // ----------------------------------------------------------------------------
       
    66 bool CustomDataSynchConfigValidatorEngineWrapper::configuredCustomSynchProfileExists(QString & errorMsg)
       
    67 {
       
    68     return engine->configuredCustomSynchProfileExists(errorMsg);
       
    69 }
       
    70 
       
    71 // ----------------------------------------------------------------------------
       
    72 bool CustomDataSynchConfigValidatorEngineWrapper::contactAdapterCenrepValueToProfileMatches(QString & errorMsg)
       
    73 {
       
    74     return engine->contactAdapterCenrepValueToProfileMatches(errorMsg);
       
    75 }
       
    76 
       
    77 // ----------------------------------------------------------------------------
       
    78 bool CustomDataSynchConfigValidatorEngineWrapper::myprofileAdapterCenrepValueToProfileMatches(QString & errorMsg)
       
    79 {
       
    80     return engine->myprofileAdapterCenrepValueToProfileMatches(errorMsg);
       
    81 }
       
    82 
       
    83 // ----------------------------------------------------------------------------
       
    84 bool CustomDataSynchConfigValidatorEngineWrapper::devInfoExtensionPluginAvailable()
       
    85 {
       
    86     return engine->devInfoExtensionPluginAvailable();
       
    87 }
       
    88 
       
    89 // End of file