Staging
v0.5.1
v0.5.1
Revision cdcfd6f9418f074889bd13b343465e3359aa73e6 authored by Anthony Baxter on 26 January 2005, 04:55:57 UTC, committed by Anthony Baxter on 26 January 2005, 04:55:57 UTC
1 parent 4b0ae3a
WEObjectHandlers.h
/*
WASTE Demo Project:
Sample WASTE Object Handlers
Copyright © 1993-1998 Marco Piovanelli
All Rights Reserved
*/
#ifndef WITHOUT_FRAMEWORKS
#include <Carbon/Carbon.h>
#endif
#ifndef _WASTE_
#include "WASTE.h"
#endif
// PICTURES
pascal OSErr HandleNewPicture(Point *defaultObjectSize, WEObjectReference objectRef);
pascal OSErr HandleDisposePicture(WEObjectReference objectRef);
pascal OSErr HandleDrawPicture(const Rect *destRect, WEObjectReference objectRef);
// SOUNDS
enum {
kSoundIconID = 550
};
pascal OSErr HandleNewSound(Point *defaultObjectSize, WEObjectReference objectRef);
pascal OSErr HandleDrawSound(const Rect *destRect, WEObjectReference objectRef);
pascal Boolean HandleClickSound(Point hitPt, EventModifiers modifiers,
UInt32 clickTime, WEObjectReference objectRef);
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...