InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IErrorList.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Steve Dowd
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 __IERRORLIST_h__
25 #define __IERRORLIST_h__
26 
27 #include "IPMUnknown.h"
28 #include "K2Vector.h"
29 #include "BaseType.h"
30 #include "FileUtils.h"
31 #include "SoapServerID.h"
32 #include "UIDRef.h"
33 
34 //========================================================================================
35 // CLASS IErrorList
36 //========================================================================================
37 
42 class IErrorList : public IPMUnknown
43 {
44 public:
45 
46 public:
47  enum { kDefaultIID = IID_IERRORLIST };
48 
57  virtual void AddError( const int32 iconID, const PMString& message, const UIDRef& target, const ErrorCode errCode ) = 0;
58 
63  virtual void RemoveError( int32 whichOne ) = 0;
64 
68  virtual void Clear() = 0;
69 
73  virtual int32 GetNumErrors() = 0;
74 
80  virtual int32 GetMaxNumErrors() = 0;
81 
87  virtual void SetMaxNumErrors( int32 newMaxNumErrors ) = 0;
88 
94  virtual ErrorCode GetErrorCode( int32 whichOne ) = 0;
95 
102  virtual int32 GetErrorLevel( int32 whichOne ) = 0;
103 
109  virtual PMString GetErrorMessage( int32 whichOne ) = 0;
110 
116  virtual GlobalTime GetErrorTime( int32 whichOne ) = 0;
117 
123  virtual PMString GetErrorTimeAsString( int32 whichOne) = 0;
124 };
125 
126 
127 #endif // __IERRORLIST_h__