qcpix/tsrc/orbitsearch/uicontrols.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 13:33:22 +0300
changeset 1 6f2c1c46032b
parent 0 671dee74050a
child 2 6c1a2771f4b7
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*
* 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 UICONTROLS_H_
#define UICONTROLS_H_

#include <hblineedit.h>
#include <hbpushbutton.h>
#include <hbtextedit.h>

//***********************************************************
//Fine controls for custom builds.

//Default search mode. Append "*" to the end of search string
//NOTE: These macros are mutually exclusive and precedence
//in the order below.
//i.e., STAR_SEARCH over-rides NO_STAR_SEARCH which overrides 
//ESCAPE_SPECIAL_CHARS.
#define STAR_SEARCH 1

//Vanilla search. Send search string to engine "as-is". 
#define NO_STAR_SEARCH 0

//Will escape the following characters:
//+,-,&&,||,!,(,),{,},[,],^,",~,*,?,:and '\'
#define ESCAPE_SPECIAL_CHARS 0

//If you dont want to see results, define this flag.
#define DONT_SHOW_RESULTS 0

//************************************************************

#define ORBIT_SEARCH_CONTROLS   \
    HbLineEdit* searchBox;      \
    HbPushButton* searchButton; \
    HbTextEdit* resultsBox;

#endif /* UICONTROLS_H_ */