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.
UAEDocument.h
// UAEDocument.h |
// Copyright © 1991-92 by Apple Computer, Inc. All rights reserved. |
// Kent Sandvik DTS |
// This file contains the TAEDocument class, the basic TDocument |
// class used in the application. |
// |
// <1> khs 1.0 First final version |
#ifndef __UAEDOCUMENT__ |
#define __UAEDOCUMENT__ |
// INCLUDE FILES |
#ifndef __UAEGESTALT__ |
#include "UAEGestalt.h" |
#endif |
#ifndef __UINFORMATIONVIEW__ |
#include "UInformationView.h" |
#endif |
#ifndef __ULABELVIEW__ |
#include "ULabelView.h" |
#endif |
#ifndef __ULOOKUPCOMMAND__ |
#include "ULookupCommand.h" |
#endif |
#ifndef __UAECLIENTCOMMAND__ |
#include "UAEClientCommand.h" |
#endif |
// FORWARDING |
class TLabelView; |
class TInformationView; |
// CLASSES |
DeclareClassDesc(TAEDocument); |
class TAEDocument : public TDocument |
{ |
DeclareClass(TAEDocument); |
public: |
TAEDocument(); |
virtual void IAEDocument(); |
virtual void Free(); |
virtual void DoMakeViews(Boolean /*forPrinting*/); |
virtual void DoEvent(EventNumber eventNum, |
TEventHandler* source, |
TEvent* event); |
virtual void GetAEGestaltAddress(AEAddressDesc&); |
virtual void DoSetupMenus(); |
virtual void DoMenuCommand(CommandNumber theNumber); |
virtual void ReadConfiguration(Configuration*); |
virtual void ProcessAEInformation(); |
// FIELDS |
TLabelView* fLabelView; |
TInformationView* fInfoView; |
TStaticText* fInfoField; |
TButton* fFindButton; |
TButton* fReportButton; |
AEAddressDesc fAEGestaltAddress; |
Configuration* fConfigurationInfo; |
Boolean fOKNode; |
}; |
#endif |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14