InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IControlSet.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Dave Burnard (was Daniel Guenther)
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __IControlSet__
25 #define __IControlSet__
26 
27 #include "PMTypes.h"
28 #include "K2Vector.h"
29 #include "ShuksanID.h"
30 
31 class IControlView;
32 
33 //========================================================================================
34 // CLASS IControlSet
35 
43 //========================================================================================
44 class IControlSet : public IPMUnknown
45 {
46 public:
47  enum { kDefaultIID = IID_ICONTROLSET };
48 
50  virtual int32 VisibleSetCount() = 0;
52  virtual int32 TotalSetCount() = 0;
54  virtual void ShowSets(K2Vector<int32>) = 0;
56  virtual void ShowSets() = 0;
58  virtual void Initialize( bool16 bCreateMenuButton = kFalse ) = 0;
60  virtual bool16 IsCustomizable() = 0;
61 
65  virtual void GetVisibleControlSets (K2Vector<int32>& sets) const = 0;
66 
70  virtual void SetVisibleControlSets (K2Vector<int32> sets) = 0;
71 
73  virtual void ResetVisibleControlSets () = 0;
74 
76  virtual IControlView* GetNthControlSet(const int32 index) const = 0;
77 
78 };
79 
80 
81 #endif