InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
IHTTPLinkUtils.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Arvinder Singh
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// ADOBE CONFIDENTIAL
16
//
17
// Copyright 2016 Adobe
18
// All Rights Reserved.
19
//
20
// NOTICE: Adobe permits you to use, modify, and distribute this file in
21
// accordance with the terms of the Adobe license agreement accompanying
22
// it. If you have received this file from a source other than Adobe,
23
// then your use, modification, or distribution of it requires the prior
24
// written permission of Adobe.
25
//
26
//========================================================================================
27
#ifndef __IHTTPLinkUtils__
28
#define __IHTTPLinkUtils__
29
30
#include "IPMUnknown.h"
31
32
#include "Utils.h"
33
#include "ILink.h"
34
#include "ILinkResource.h"
35
#include "IDataBase.h"
36
#include "IDatabaseSnapshot.h"
37
38
#include "string"
39
#include "WideString.h"
40
41
42
class
IHTTPLinkResourceConnection
;
43
class
IHTTPLinkResourceServerCache
;
44
45
/*
46
AdobePatentID="P7137-US"
47
AdobePatentID="P7225-US"
48
AdobePatentID="P7609-US"
49
*/
50
54
class
IHTTPLinkUtils
:
public
IPMUnknown
55
{
56
public
:
57
enum
{ kDefaultIID = IID_IHTTPLINKUTILS };
58
65
virtual
bool16
GetOriginalURIForResource
(
const
ILinkResource
* iLinkResource,
URI
& uri)
const
= 0;
66
73
virtual
bool16
GetRenditionURIForResource
(
const
ILinkResource
* iLinkResource,
URI
& uri)
const
= 0;
74
80
virtual
WideString
GetShortName
(
const
URI
& uri)
const
= 0;
81
87
virtual
AString
WideStringToAString
(
const
WideString
& wString)
const
= 0;
88
94
virtual
URI
GetServerURI
(
const
URI
& inAssetUri)
const
= 0;
95
101
virtual
bool16
IsHTTPLinksSupportedURI
(
const
URI
& uri)
const
= 0;
102
108
virtual
bool16
IsValidDataBaseForHttpLink
(
IDataBase
*db)
const
= 0;
109
110
116
virtual
InterfacePtr<IHTTPLinkResourceConnection>
GetHTTPLinkResourceConnection
(
const
URI
& uri)
const
= 0;
117
123
virtual
InterfacePtr<IHTTPLinkResourceServerCache>
GetHTTPLinkResourceServerCache
(
const
URI
& uri)
const
= 0;
124
125
virtual
void
ReadWriteSnapshotForBackgroundThread(DatabaseSnapshotPtr db, bool16 isReadingMode)
const
= 0;
126
127
// Do not call it from outside world, this is for our internal purpose only.
128
virtual
void
ShutdownHTTPLinksSubsystem()
const
= 0;
129
134
virtual
PMString
GetHTTPAssetCachePath
()
const
= 0;
135
};
136
137
#endif // __IHTTPLinkUtils__
tmpdoxygeninput
IHTTPLinkUtils.h
Generated on Sat Jul 19 2025 02:54:13 for InDesign SDK by
1.8.3.1