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

📄 notifier.c

📁 一些brew的简单代码
💻 C
字号:
/*===========================================================================

FILE: inotifier.c

SERVICES: Sample notifier class using AEE

DESCRIPTION
  This file contains a class that implements the INotifier interface.
  INotifier interface implements services that allows a user applet to 
  register with the shell to be notified when a particular event has occured 
  notifier service. See ISHELL_RegisterNotify function descriptions 
  for more information on registering events with the shell.
  
  In this usage example, instead of registering to be notified by a handset 
  notification component (such as TAPI) we create a class which mimics 
  notifier functionality (that implements a notifier service). This notifier 
  class is built using basic building blocks of a typical notifier service.
  The notifier class implements the INotify interface instead of the IApplet
  interface. Hence, the notifier class will structurally differ from a 
  typical applet, which is event driven. It does not provide event handling 
  functionality and cannot be started like other user defined applets. But, 
  the Notifier class does provide the basic functionality to be loaded by 
  the applet manager at start time.

  High level Notification scenario:
    
    Consider a user applet A wants to be notified by the Shell when an event 
    has occured on notifiction service B.

    To achive this, Applet A would register with the Shell by invoking
    ISHELL_RegisterNotify() function with event corresponding to 
    NOTIFY_MASK_XXXX on notification service B. In turn the Shell sends 
    a message to the notify service B asking it to inform the Shell when 
    event corresponding to NOTIFY_MASK_XXXX has occured on service B.
    Service B then adds event to it's list of notify events. When an
    event on the service B has occured it looks up the notify event list 
    and inform the Shell that EVT_XXXX corresponding to NOTIFY_MASK_XXXX
    has occured by invoking ISHELL_Notify() function. The Shell then looks 
    up it's registered entry list and sends an EVT_NOTIFY event to the 
    appropriate registered applets. 

PUBLIC CLASSES:  
   N/A


   	   Copyright 

⌨️ 快捷键说明

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