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.
CPrefsWindow.h
/* |
A window that provides the user interface for editing preferences. |
Created 29 Jan 1996 by EGH |
Copyright © 1996, Apple Computer, Inc. All rights reserved. |
*/ |
#pragma once |
#include <Movies.h> |
#include <LDialogBox.h> |
#include "CApp.h" |
class CPrefsWindow : |
public LDialogBox, |
public LBroadcaster |
{ |
public: |
enum { class_ID = 'pref' }; |
static CPrefsWindow *CreatePrefsWindowWindowStream( |
LStream *inStream); |
CPrefsWindow( |
LStream *inStream); |
virtual ~CPrefsWindow(); |
virtual void FinishCreateSelf(); |
virtual void ListenToMessage( |
MessageT inMessage, |
void *ioParam); |
void SetCompText(); |
protected: |
virtual void FindCommandStatus( |
CommandT inCommand, |
Boolean &outEnabled, |
Boolean &outUsesMark, |
Char16 &outMark, |
Str255 outName); |
private: |
CodecType mCodec; |
CodecQ mSpatialQuality; |
Int16 mDepth; |
P2VRPrefsHdl mPrefsHdl; |
}; |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-01-14