InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IDefaultCSB.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 the primary interface on the default CSB. Before the boss can be used, it
24 // must be initialized. This is done by calling Initialize() on this interface (the
25 // implementations are responsible for initializing any other interfaces which may need
26 // this service).
27 //
28 //========================================================================================
29 
30 #ifndef _IDefaultCSB_
31 #define _IDefaultCSB_
32 //________________________________________________________________________________________________
33 // INCLUDES
34 //________________________________________________________________________________________________
35  //.......Interface headers....................................................................
36  #include "IPMUnknown.h"
37  #include "ISelectionManager.h"
38 
39  //.......ID headers..........................................................................
40  #include "ShuksanID.h"
41 
42  //.......Other headers.......................................................................
43  #include "K2Vector.h"
44 //================================================================================================
45 //________________________________________________________________________________________________
46 // CLASS FORWARDS
47 //________________________________________________________________________________________________
48 // class IControlView;
49  class IDataBase;
50  class IWorkspace;
51  class ISelectionManager;
52 //________________________________________________________________________________________________
53 // TYPEDEFS
54 //________________________________________________________________________________________________
56 // enum {kDontNotifySuites = kFalse, kNotifySuites = kTrue};
60 class IDefaultCSB : public IPMUnknown
61  {
62  //____________________________________________________________________________________________
63  // Data Types
64  //____________________________________________________________________________________________
65  public:
66  enum { kDefaultIID = IID_IDEFAULT_CSB };
67 
68  //____________________________________________________________________________________________
69  // Member functions
70  //____________________________________________________________________________________________
71  public:
78  virtual void Startup (void) = 0;
79 
83  virtual void Shutdown (void) = 0;
84 
91  virtual IDataBase* GetDataBase (void) const = 0;
92 
100  virtual IWorkspace* QueryWorkspace (void) = 0;
101 
107  virtual void BroadcastToIntegratorSuite (const PMIID& x, void* y) = 0;
108 
114  virtual bool16 BroadcastQueuedMessages (IdleTimer* x) const = 0;
115 
120  virtual void SelectionHasQueuedMessages (void) const = 0;
121  };
122 
123 #endif // _IDefaultCSB_