QTCustomButton.h

//////////
//
//  File:       QTCustomButton.h
//
//  Contains:   Header file for displaying and managing the custom button in the controller bar.
//
//  Written by: Tim Monroe
//
//  Copyright:  © 1999 by Apple Computer, Inc., all rights reserved.
//
//  Change History (most recent first):
//     
//     <1>      11/25/99    rtm     first file
//
//////////
 
//////////
//
// header files
//
//////////
 
#ifndef __MOVIES__
#include <Movies.h>
#endif
 
 
//////////
//
// constants
//
//////////
 
#define kCustomButtonMenuID         1000
 
#define kItem1Index                 1
#define kItem2Index                 2
#define kItem3Index                 3
#define kSaveItemIndex              kItem3Index
 
#define kMenuTitle                  ""
#define kItem1Text                  "Beep"
#define kItem2Text                  "About QTShell..."
#define kItem3Text                  "Save"
#define kDividingLine               "-"
 
#if TARGET_OS_WIN32
#define EnableMenuItem                      EnableItem
#define DisableMenuItem                     DisableItem
#endif
 
 
//////////
//
// function prototypes
//
//////////
 
void                    QTCustom_ShowCustomButton (MovieController theMC);
void                    QTCustom_HandleCustomButtonClick (MovieController theMC, EventRecord *theEvent, long theRefCon);