controlpanel/controlpanel_plat/inc/cpbasepath.h
branchRCL_3
changeset 24 8ee96d21d9bf
equal deleted inserted replaced
23:8bda91a87a00 24:8ee96d21d9bf
       
     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:  Common path definitions for controlpanel
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CPBASEPATH_H
       
    19 #define CPBASEPATH_H
       
    20 
       
    21 #include <QLatin1String>
       
    22 
       
    23 /*
       
    24  CP_PLUGIN_PATH : path to place controlpanel plugin stub files (.qtplugin files)
       
    25  CP_PLUGIN_CONFIG_PATH: path to place controlpanel plugin configuration files (.cpcfg files)
       
    26 */
       
    27 #ifdef Q_OS_SYMBIAN
       
    28         #define CP_PLUGIN_PATH QLatin1String("/resource/qt/plugins/controlpanel")
       
    29         #define CP_PLUGIN_CONFIG_PATH QLatin1String("/resource/qt/plugins/controlpanel/config")
       
    30 #else 
       
    31     #ifdef _DEBUG
       
    32         #define CP_PLUGIN_PATH QLatin1String("/ControlPanel/debug/bin")
       
    33         #define CP_PLUGIN_CONFIG_PATH QLatin1String("/ControlPanel/debug/bin/config")
       
    34     #else
       
    35         #define CP_PLUGIN_PATH QLatin1String("/ControlPanel/release/bin")
       
    36         #define CP_PLUGIN_CONFIG_PATH QLatin1String("/ControlPanel/release/bin/config")
       
    37     #endif
       
    38 #endif 
       
    39 
       
    40 
       
    41 #endif  //CPBASEPATH_H
       
    42 
       
    43 //End of File
       
    44