diff -r 951aeeb3da43 -r eea20ed08f4b coreapplicationuis/devicepowermenuplugin/inc/hbdevicepowermenupluginerrors_p.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/coreapplicationuis/devicepowermenuplugin/inc/hbdevicepowermenupluginerrors_p.h Tue Jun 29 10:40:11 2010 +0300 @@ -0,0 +1,41 @@ +/* + * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). + * All rights reserved. + * This component and the accompanying materials are made available + * under the terms of "Eclipse Public License v1.0" + * which accompanies this distribution, and is available + * at the URL "http://www.eclipse.org/legal/epl-v10.html". + * + * Initial Contributors: + * Nokia Corporation - initial contribution. + * + * Contributors: + * + * Description: + * + */ + +#ifndef HBDEVICEPOWERMENUPLUGINERRORS_P_H +#define HBDEVICEPOWERMENUPLUGINERRORS_P_H + +#include +#include +#ifdef _DEBUG + + #define TRACES( x ) x + +#else + + #define TRACES( x ) + +#endif + + +// No error +const int NoError = 0; +// Illegal parameter error +const int ParameterError = HbDeviceDialog::PluginErrors + 1; +// Unknown device dialog error +const int UnknownDeviceDialogError = HbDeviceDialog::PluginErrors + 2; + +#endif // HBDEVICEPOWERMENUPLUGINERRORS_P_H