InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ILibraryService.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Mark VerMurlen
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 // Reviewed: 9/28/98
24 //
25 // Purpose:
26 // This interface is used to create and manage Library Bosses. It also is used
27 // to obtain interfaces to Library utilities.
28 //
29 //========================================================================================
30 
31 #ifndef __ILibraryService__
32 #define __ILibraryService__
33 
34 #include "IPMUnknown.h"
35 #include "LibraryProviderID.h"
36 
37 class ILibrary;
38 class ILibraryCmdUtils;
40 
45 {
46 public:
47  enum { kDefaultIID = IID_ILIBRARYSERVICE };
48 
54  virtual ILibrary* CreateLibrary() = 0;
55 
60  virtual void ReleaseLibrary( ILibrary* library ) = 0;
61 
65  virtual int32 NumLibraries() const = 0;
66 
71  virtual ILibrary* QueryNthLibrary(int32 n) const = 0;
72 
76  virtual ILibraryCmdUtils* QueryLibraryCmdUtils() const = 0;
77 
81  virtual ILibraryDragDropUtils* QueryLibraryDDUtils() const = 0;
82 };
83 
84 #endif