AAX SDK  2.1.1
Avid Audio Extensions Development Kit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AAX_VViewContainer.h
Go to the documentation of this file.
1 // **************************************************************************************
2 // FILE: AAX_VViewContainer.h
3 //
4 // Copyright 2013 by Avid Technology, Inc.
5 // All rights reserved
6 //
7 // CONFIDENTIAL: This document contains confidential information.
8 // Do not disclose any information contained in this document to any
9 // third-party without the prior written consent of Avid Technology, Inc.
10 //
11 // **************************************************************************************
12 
13 #ifndef AAX_VVIEWCONTAINER_H
14 #define AAX_VVIEWCONTAINER_H
15 
16 #include "AAX_IViewContainer.h"
17 #include "AAX_IACFViewContainer.h"
18 #include "ACFPtr.h"
19 
20 
21 class IACFUnknown;
22 
28 {
29 public:
30  AAX_VViewContainer( IACFUnknown * pUnknown );
31  virtual ~AAX_VViewContainer();
32 
33  // AAX_IACFViewContainer
34 
35  // Getters
36  virtual int32_t GetType ();
37  virtual void * GetPtr ();
38  virtual AAX_Result GetModifiers ( uint32_t * outModifiers );
39 
40  // Setters
41  virtual AAX_Result SetViewSize ( AAX_Point & inSize );
42  virtual AAX_Result HandleParameterMouseDown ( AAX_CParamID inParamID, uint32_t inModifiers );
43  virtual AAX_Result HandleParameterMouseDrag ( AAX_CParamID inParamID, uint32_t inModifiers );
44  virtual AAX_Result HandleParameterMouseUp ( AAX_CParamID inParamID, uint32_t inModifiers );
45 
46 private:
47  AAX_IACFViewContainer * mIViewContainer;
48 };
49 
50 
51 #endif //AAX_IAUTOMATIONDELEGATE_H
virtual ~AAX_VViewContainer()
virtual AAX_Result HandleParameterMouseDrag(AAX_CParamID inParamID, uint32_t inModifiers)
Alert the host to a mouse drag event.
virtual AAX_Result SetViewSize(AAX_Point &inSize)
Request a change to the main view size.
Interface for the AAX host's view of a single instance of an effect.
Data structure representing a two-dimensional coordinate point.
Definition: AAX_GUITypes.h:35
Interface for the AAX host's view of a single instance of an effect. Used by both clients of the host...
Definition: AAX_IACFViewContainer.h:45
virtual int32_t GetType()
Returns the raw view type as one of AAX_EViewContainer_Type.
virtual AAX_Result GetModifiers(uint32_t *outModifiers)
Queries the host for the current modifier keys.
Interface for the AAX host's view of a single instance of an effect. Used both by clients of the AAX ...
Definition: AAX_IViewContainer.h:40
AAX_VViewContainer(IACFUnknown *pUnknown)
COM compatible IUnknown C++ interface.
Definition: AAX_ACFInterface.dox:231
int32_t AAX_Result
Definition: AAX.h:118
Interface for the AAX host's view of a single instance of an effect. Used by both clients of the AAXH...
virtual AAX_Result HandleParameterMouseUp(AAX_CParamID inParamID, uint32_t inModifiers)
Alert the host to a mouse up event.
virtual void * GetPtr()
Returns a pointer to the raw view.
const char * AAX_CParamID
Parameter identifier.
Definition: AAX.h:128
virtual AAX_Result HandleParameterMouseDown(AAX_CParamID inParamID, uint32_t inModifiers)
Alert the host to a mouse down event.
Version-managed concrete AAX_IViewContainer class.
Definition: AAX_VViewContainer.h:27