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.
sources/TSetupPane.h
// TSetupPane.h - AppleShare IP Dialog Pane Object |
// |
// Apple Macintosh Developer Technical Support |
// Written by: Vinnie Moscaritolo |
// |
// Copyright (work in progress) Apple Computer, Inc All rights reserved. |
// |
// You may incorporate this sample code into your applications without |
// restriction, though the sample code has been provided "AS IS" and the |
// responsibility for its operation is 100% yours. However, what you are |
// not permitted to do is to redistribute the source as "DSC Sample Code" |
// after having made changes. If you're going to re-distribute the source, |
// we require that you make it clear in the source that the code was |
// descended from Apple Sample Code, but that you've made changes. |
// |
#pragma once |
#include "TPane.h" |
#include "TPGPUAMPrefs.h" |
// --------------------------------------------------------------------------- |
// TSetupPane - base class for Dialog Pane Object |
// --------------------------------------------------------------------------- |
// |
class TSetupPane : public TPane |
{ |
public: |
// CONSTRUCTORS AND DESTRUCTORS |
TSetupPane( DialogPtr dialog, SInt16 origItems, TPGPUAMPrefs* prefs); |
virtual ~TSetupPane(); |
// MAIN INTERFACE |
virtual void Refresh(); |
virtual void ItemHit(SInt16 item); |
virtual void Idle() ; |
// PRIVATE FIELDS |
protected: |
TPGPUAMPrefs* fPrefs; |
ControlHandle fCachePassPhrase; |
ControlHandle fCacheTimeLimit; |
ControlHandle fTick1; |
ControlHandle fTick2; |
ControlHandle fTick3; |
ControlHandle fTickLast; |
ControlHandle fAuthServer; |
ControlHandle fOption1; |
ControlHandle fOption2; |
}; |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-07-22