InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IScriptArgs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michael Burbidge
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 __IScriptArgs_h__
25 #define __IScriptArgs_h__
26 
27 #include "IPMUnknown.h"
28 #include "ScriptingID.h"
29 #include <adobe/vector.hpp>
30 
31 //========================================================================================
32 // CLASS IScriptArgs
33 //========================================================================================
34 
44 class IScriptArgs : public IPMUnknown
45 {
46 public:
47 
48 public:
49  enum { kDefaultIID = IID_ISCRIPTARGS };
50 
56  virtual void Set( const PMString& name, const PMString& value) = 0;
57 
63  virtual PMString Get( const PMString& name ) const = 0;
64 
70  virtual bool IsDefined( const PMString& name ) const = 0;
71 
75  virtual void Clear() = 0;
76 
81  virtual void Save() = 0;
82 
87  virtual ErrorCode Restore() = 0;
88 
93  virtual const adobe::vector<PMString> GetParameters() = 0;
94 };
95 
96 
97 #endif // __IERRORLIST_h__