Go to the
documentation of this file.
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #pragma once
00016 #include "maxheap.h"
00017 #include "ref.h"
00018
00019 class Control;
00020
00021 #define TVNODE_CLASS_ID Class_ID(0x8d73b8aa, 0x90f2ee71)
00022
00023
00024 #define TVNODE_APPEND -1
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #define GLOBAL_VAR_TVNODE_CLASS_ID Class_ID(0xb27e9f2a, 0x73fad370)
00039 #define VIDEO_POST_TVNODE_CLASS_ID Class_ID(0x482b8d30, 0xb72c8511)
00040 #define TRACK_SELECTION_SET_MGR_CLASS_ID Class_ID(0x77a71ca2, 0x670c632d)
00041 #define TRACK_SELECTION_SET_CLASS_ID Class_ID(0x6eb33def, 0x20344f6a)
00042
00043
00044
00045
00046
00047
00060 class TVNodeNotify: public MaxHeapOperators {
00061 public:
00086 virtual RefResult NotifyRefChanged(
00087 Interval changeInt, RefTargetHandle hTarget,
00088 PartID& partID, RefMessage message)=0;
00089 };
00090
00114 class ITrackViewNode : public ReferenceTarget {
00115 public:
00132 virtual void AddNode(ITrackViewNode *node, MCHAR *name, Class_ID cid, int pos=TVNODE_APPEND)=0;
00149 virtual void AddController(Control* c, MCHAR* name, Class_ID cid, int pos=TVNODE_APPEND)=0;
00157 virtual int FindItem(Class_ID cid)=0;
00168 virtual void RemoveItem(int i)=0;
00179 virtual void RemoveItem(Class_ID cid)=0;
00185 virtual Control *GetController(int i)=0;
00191 virtual Control *GetController(Class_ID cid)=0;
00196 virtual ITrackViewNode *GetNode(int i)=0;
00202 virtual ITrackViewNode *GetNode(Class_ID cid)=0;
00205 virtual int NumItems()=0;
00218 virtual void SwapPositions(int i1, int i2)=0;
00225 virtual MCHAR *GetName(int i)=0;
00233 virtual void SetName(int i,MCHAR *name)=0;
00239 virtual void RegisterTVNodeNotify(TVNodeNotify *notify)=0;
00244 virtual void UnRegisterTVNodeNotify(TVNodeNotify *notify)=0;
00245
00253 virtual void HideChildren(BOOL chide)=0;
00254 };
00255
00260 CoreExport ITrackViewNode *CreateITrackViewNode(BOOL hidden=FALSE);
00261