epoc32/include/eikbhelp.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/eikbhelp.h	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,92 +0,0 @@
     1.4 -// Copyright (c) 2000-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 -// All rights reserved.
     1.6 -// This component and the accompanying materials are made available
     1.7 -// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
     1.8 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -//
    1.18 -
    1.19 -#ifndef __EIKBHELP_H__
    1.20 -#define __EIKBHELP_H__
    1.21 -
    1.22 -#include <coemain.h>
    1.23 -
    1.24 -const TUid KEikBubbleHelpUid={0x10008E48};
    1.25 -
    1.26 -class CCoeControl;
    1.27 -
    1.28 -/**
    1.29 -@publishedPartner
    1.30 -@deprecated
    1.31 -*/
    1.32 -class MEikTriggeredHelp	
    1.33 -	{
    1.34 -// The MEikTriggeredHelp class defines an interface for UI classes 
    1.35 -// to implement triggered, transient help message display.
    1.36 -public:
    1.37 -	virtual void TriggerHelp(const TDesC& aDes,const TRect& aRect,TInt aHandle)=0;
    1.38 -	virtual void CancelHelp()=0;
    1.39 -	virtual void CancelHelpTrigger()=0;
    1.40 -	virtual TBool IsDisplayingHelp(TInt aHandle)=0;
    1.41 -	virtual void Release()=0;
    1.42 -protected:
    1.43 -	IMPORT_C virtual void MEikTriggeredHelp_Reserved_1();
    1.44 -	IMPORT_C virtual void MEikTriggeredHelp_Reserved_2();
    1.45 -	};
    1.46 -
    1.47 -
    1.48 -/** Provides the static functions that control bubble help.
    1.49 -
    1.50 -Bubble help is a feature that enables short help messages to be displayed 
    1.51 -for controls in transient windows which pop up close to the control bodies. 
    1.52 -
    1.53 -@publishedAll 
    1.54 -@released */
    1.55 -class EikBubbleHelp
    1.56 -	{
    1.57 -public:
    1.58 -	IMPORT_C static void Trigger(const TDesC& aDes,const TRect& aRect,TInt aHandle=-1);
    1.59 -	IMPORT_C static void Cancel();
    1.60 -	IMPORT_C static void CancelTrigger();
    1.61 -	IMPORT_C static TBool IsDisplaying(TInt aHandle);
    1.62 -	};
    1.63 -
    1.64 -
    1.65 -/**
    1.66 -@publishedPartner
    1.67 -@deprecated
    1.68 -*/
    1.69 -class CEikBubbleHelp : public CCoeStatic
    1.70 -// The CEikBubbleHelp class implements global static storage and access to the object providing bubble help
    1.71 -// for the application.  
    1.72 -	{
    1.73 -	~CEikBubbleHelp();
    1.74 -public: 
    1.75 -	IMPORT_C static void SetTriggeredHelpL(MEikTriggeredHelp* aTriggeredHelp);
    1.76 -public:
    1.77 -	static void Trigger(const TDesC& aDes,const TRect& aRect,TInt aHandle=-1);
    1.78 -	static void Cancel();
    1.79 -	static void CancelTrigger();
    1.80 -	static TBool IsDisplaying(TInt aHandle);
    1.81 -private:
    1.82 -	inline CEikBubbleHelp();
    1.83 -	inline static CEikBubbleHelp* Self();
    1.84 -private:
    1.85 -	MEikTriggeredHelp* iHelp;
    1.86 -	};
    1.87 -
    1.88 -inline CEikBubbleHelp::CEikBubbleHelp()
    1.89 -	: CCoeStatic(KEikBubbleHelpUid)
    1.90 -	{}
    1.91 -
    1.92 -inline CEikBubbleHelp* CEikBubbleHelp::Self()
    1.93 -	{return STATIC_CAST(CEikBubbleHelp*,CCoeEnv::Static(KEikBubbleHelpUid));}
    1.94 -
    1.95 -#endif