sipexresolverplugin.h

来自「an example for sip for symbian」· C头文件 代码 · 共 72 行

H
72
字号
/*
* ==============================================================================
*  Name        : SIPExResolverPlugin.h
*  Part of     : SIPExResolverPlugin
*  Interface   : 
*  Description : 
*  Version     : 
*
*  Copyright (c) 2005-2006 Nokia Corporation.
*  This material, including documentation and any related 
*  computer programs, is protected by copyright controlled by 
*  Nokia Corporation.
* ==============================================================================
*/

#ifndef __CSIPEXRESOLVERPLUGIN_H__
#define __CSIPEXRESOLVERPLUGIN_H__

// INCLUDES
#include <apgcli.h>
#include <SipResolvedClient.h>


const TInt32 KSIPExResolverPluginUID = 0xA00001EC;

// CLASS DEFINITION

/**
* CSIPExResolverPlugin implements a simple plugin for testing ClientResolver.
*/
class CSIPExResolverPlugin : public CSIPResolvedClient
	{
	public:	// Constructors and destructor

		static CSIPExResolverPlugin* NewL();
		
		/// Destructor
		~CSIPExResolverPlugin();

	public: // from CSIPResolvedClient
	
	    TUid ChannelL( RStringF aMethod,
                       const TDesC8& aRequestUri,
                       const RPointerArray<CSIPHeaderBase>& aHeaders,
                       const TDesC8& aContent,
                       const CSIPContentTypeHeader* aContentType=0);

		void ConnectL( TUid aUid );
		
		const TDesC8& Capabilities();

	private: // Constructors

		inline CSIPExResolverPlugin() {}
		
		// Second phase constructor
		void ConstructL(); 
	
	private: // New functions

		// Needed for cleanup of a RImplInfoPtrArray:
		static void ResetAndDestroy( TAny* anArray );

		// Name
		RApaLsSession iApaSession;
		TApaAppInfo iAppInfo;
		
		TUid iApplicationUID;
	};

#endif // __CSIPEXRESOLVERPLUGIN_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?