InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
LinkResourceQuery.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Michael Easter
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 // Description:
24 // This class provides functionality to construct a link resource query.
25 //
26 //========================================================================================
27 
28 #ifndef __LinkResourceQuery__
29 #define __LinkResourceQuery__
30 
31 // ----- Includes -----
32 #include "ILinkResource.h"
33 
34 class LinkResourceQueryData;
35 
36 
59 {
60 public:
66 
73 
78  virtual ~LinkResourceQuery();
79 
87 
94  bool operator==(const LinkResourceQuery& rhs) const;
95 
102  bool operator!=(const LinkResourceQuery& rhs) const;
103 
109  void SetURI(const URI& uri);
110 
116  void SetScheme(const WideString& scheme);
117 
124 
131 
142 
147  bool IsEmpty() const;
148 
152  void Clear();
153 
154 private:
155  friend class LinkManager;
156  friend class ScrapLinkManager;
157 
158  LinkResourceQueryData* fData;
159 };
160 
161 #endif // __LinkResourceQuery__