source: golgotha/src/max_plugin/sdk_inc/notetrck.h @ 80

Last change on this file since 80 was 80, checked in by Sam Hocevar, 11 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
  • Property svn:keywords set to Id
File size: 910 bytes
Line 
1/**********************************************************************
2 *<
3        FILE:  notetrck.h
4
5        DESCRIPTION:  Note track plug-in class
6
7        CREATED BY: Rolf Berteig
8
9        HISTORY: created July 20, 1995
10
11 *>     Copyright (c) 1994, All Rights Reserved.
12 **********************************************************************/
13
14
15#ifndef __NOTETRCK_H__
16#define __NOTETRCK_H__
17
18class NoteTrack : public ReferenceTarget {
19        public:
20                SClass_ID SuperClassID() {return SClass_ID(NOTETRACK_CLASS_ID);}
21                RefResult AutoDelete() {return REF_SUCCEED;}
22        };
23
24class NoteAnimProperty : public AnimProperty {
25        public:         
26                NoteTrack *note;
27                DWORD ID() {return PROPID_NOTETRACK;}
28
29                NoteAnimProperty(NoteTrack *n=NULL) {note = n;}
30                ~NoteAnimProperty() {if (note) note->DeleteMe();}
31        };
32
33
34CoreExport NoteTrack *NewDefaultNoteTrack();
35
36
37#endif // __NOTETRCK_H__
38
Note: See TracBrowser for help on using the repository browser.