InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IApplicationDefaultsUtils.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Brendan O'Shea
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // ADOBE CONFIDENTIAL
16 //
17 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
18 //
19 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
20 // with the terms of the Adobe license agreement accompanying it. If you have received
21 // this file from a source other than Adobe, then your use, modification, or
22 // distribution of it requires the prior written permission of Adobe.
23 //
24 //========================================================================================
25 
26 #ifndef __IAPPLICATIONDEFAULTSUTILS__
27 #define __IAPPLICATIONDEFAULTSUTILS__
28 #include "AppFrameworkID.h"
29 #include "IDFile.h"
30 // ===================================================================================
31 // class IApplicationDefaultsUtils
32 // ===================================================================================
33 //
34 // usage: ec = Utils<IApplicationDefaultsUtils>()->SetDefaults( ... ) ;
35 
37 {
38 public:
39  // ----- Constants -----
40  enum {kDefaultIID = IID_IAPPLICATIONDEFAULTSUTILS};
41  virtual ErrorCode SetDefaults(uint32 languageRegionEnumeration) const = 0;
42  virtual ErrorCode SetDefaults(IDFile idmlFormattedDefaultsFile) const = 0;
43 };
44 
45 #endif
46