InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
isignalmgr.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Roey Horns
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 // Purpose: Manage service based responders to a given signal that are interdependent.
24 //
25 //========================================================================================
26 
27 #ifndef __ISIGNALMGR__
28 #define __ISIGNALMGR__
29 
30 #include "IPMUnknown.h"
31 #include "ShuksanID.h"
32 
68 class ISignalMgr : public IPMUnknown
69 {
70 public:
71  enum { kDefaultIID = IID_ISIGNALMGR };
72 
73 
78  virtual void Init(ServiceID serviceID) = 0;
79 
87  virtual void Terminate() = 0;
88 
95  virtual ServiceID GetServiceID() const = 0;
96 
101  virtual int32 CountResponders() const = 0;
102 
107  virtual int32 CountUnsignaledResponders() const = 0;
108 
114  virtual ErrorCode SignalNextResponder() = 0;
115 
122  virtual ErrorCode SignalResponder(ClassID actionClassID) = 0;
123 
130  virtual ErrorCode SignalAllResponders(ServiceID serviceID, bool16 showProgress = kFalse) = 0;
131 
132 };
133 
134 #endif // __ISIGNALMGR__
135