InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPixelBenderData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Greg St. Pierre
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
18 //
19 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
20 // with the terms of the Adobe license agreement accompanying it. If you have received
21 // this file from a source other than Adobe, then your use, modification, or
22 // distribution of it requires the prior written permission of Adobe.
23 //
24 //========================================================================================
25 
26 
27 #include "DynamicDocumentsID.h"
28 
29 #include "BravoForwardDecl.h"
30 
32 {
33 public:
34  enum { kDefaultIID = IID_IPIXELBENDERDATA };
35 
36  virtual void Set(uint8 const *data, size_t count) = 0;
37  virtual uint8 const *Get(size_t &count) const = 0;
38 
39  virtual BIBSharedBuffer *GetBuffer() const = 0;
40 
41  // Needs work, obviously.
42  virtual void ClearParameters() = 0;
43  virtual void SetParameter(PMString const &name, uint32 count, PMReal const *value) = 0;
44  virtual void GetParameters(K2Vector<PMString> &params) const = 0;
45  virtual bool GetParameterCount(PMString const &name, uint32 &count) const = 0;
46  virtual bool GetParameter(PMString const &name, PMReal *value) const = 0;
47 
48  virtual bool IsValid() const = 0;
49 };