Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
NotificationMon.ƒ/Source/main.c
#include "Event.h" |
#include "NotificationMon.h" |
notificationDoc *MainView; |
main(void) |
{ |
InitToolBox(4); /* Std witch chant + 4 calls to MoreMasters */ |
UnloadSeg(&InitToolBox); |
BuildMenuBars(); |
InitAppleEvents(); |
MainView = NewNotificationDoc(128); |
RegisterNotificationMonitor(); |
while(!Done) |
MainEvent(); |
UpdateNotificationPrefs(MainView); |
UnregisterNotificationMonitor(); |
} |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14