⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 objectexchangeserviceadvertiser.h

📁 symbian平台蓝牙程序,功能实现:搜索设备,指定时间间隔搜索,对指定的设备发送信息,也可指定时间间隔发送,日志操作,可通过mms,红外,蓝牙发送日志等
💻 H
字号:
/* Copyright (c) 2002, Nokia Mobile Phones. All rights reserved */

#ifndef __COBJECTEXCHANGE_SERVICE_ADVERTISER__
#define __COBJECTEXCHANGE_SERVICE_ADVERTISER__ 

#include <e32base.h>
#include <btsdp.h>
#include <btmanclient.h>

#include "BTServiceAdvertiser.h"

/*! 
  @class CObjectExchangeServiceAdvertiser
  
  @discussion Advertises the OBEX service using the SDP database.
  */
class CObjectExchangeServiceAdvertiser : public CBTServiceAdvertiser
    {
public:
/*!
  @function NewL
   
  @discussion Create a CObjectExchangeServiceAdvertiser object
  @result a pointer to the created instance of CObjectExchangeServiceAdvertiser
  */
    static CObjectExchangeServiceAdvertiser* NewL();

/*!
  @function NewLC
   
  @discussion Create a CObjectExchangeServiceAdvertiser object
  @result a pointer to the created instance of CObjectExchangeServiceAdvertiser
  */
    static CObjectExchangeServiceAdvertiser* NewLC();

/*!
  @function ~CObjectExchangeServiceAdvertiser
  
  @discussion Destroy the object and release all memory objects
  */
    ~CObjectExchangeServiceAdvertiser();

protected: // from CBTServiceAdvertiser

/*!
  @function BuildProtocolDescriptionL
  
  @discussion Builds the protocol description
  @param aProtocolDescriptor the protocol descriptor
  @param aPort the service port
  */
    void BuildProtocolDescriptionL(CSdpAttrValueDES* aProtocolDescriptor, TInt aPort);

/*!
  @function ServiceClass
  
  @result the service class
  */
    const TInt ServiceClass();

/*!
  @function ServiceName
  
  @result the service name
  */
    const TDesC& ServiceName();

/*!
  @function ServiceDescription
  
  @result the service description
  */
    const TDesC& ServiceDescription();
    
private:
/*!
  @function CObjectExchangeServiceAdvertiser
  
  @discussion Constructs this object
  */
    CObjectExchangeServiceAdvertiser();

/*!
  @function ConstructL
  
  @discussion Perform the second phase construction of a CObjectExchangeServiceAdvertiser object
  */
    void ConstructL();
    };

#endif // __COBJECTEXCHANGE_SERVICE_ADVERTISER__

⌨️ 快捷键说明

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