InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ISelectionExtension.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michael Martz
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 // Note: This is a sub-class of IPMUnknown that is used by the new selection manager to
24 // be able to talk to the generic suites w/o knowing their specific types. You should
25 // NOT emmulate this model without a very good reason.
26 //
27 //========================================================================================
28 
29 #ifndef _ISelectionExtension_
30 #define _ISelectionExtension_
31 //________________________________________________________________________________________________
32 // INCLUDES
33 //________________________________________________________________________________________________
34  #include "IPMUnknown.h"
35  #include "ISelectionMessages.h"
36 //================================================================================================
37 //________________________________________________________________________________________________
38 // CLASS FORWARDS
39 //________________________________________________________________________________________________
40  class IControlView;
41  class IDataBase;
42  class ISelectionManager;
43 //________________________________________________________________________________________________
44 // TYPEDEFS
45 //________________________________________________________________________________________________
46  // ProtocolCollection is sorted
48 
52  {
53  //____________________________________________________________________________________________
54  // Member functions
55  //____________________________________________________________________________________________
56  public:
80  virtual void SelectionChanged (SuiteBroadcastData*x, const PMIID& messageID, void*y) = 0;
81 
105  virtual void SelectionAttributeChanged (SuiteBroadcastData*x, const PMIID& messageID, void*y) = 0;
106 
119  virtual void HandleIntegratorSuiteMessage (void* x, const ClassID& y, ISubject* z, const PMIID& i, void* j, ISelectionManager* k) = 0;
120 
129 
132  virtual void Startup (void) = 0;
133 
136  virtual void Shutdown (void) = 0;
137 
138  };
139 
140 #endif // _ISelectionExtension_