/usr/include/thunderbird-11.0.1/nsILivemarkService.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mozilla/toolkit/components/places/nsILivemarkService.idl
*/
#ifndef __gen_nsILivemarkService_h__
#define __gen_nsILivemarkService_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIURI; /* forward declaration */
class nsINavBookmarksService; /* forward declaration */
/* starting interface: nsILivemarkService */
#define NS_ILIVEMARKSERVICE_IID_STR "62a5fe00-d85c-4a63-aef7-176d8f1b189d"
#define NS_ILIVEMARKSERVICE_IID \
{0x62a5fe00, 0xd85c, 0x4a63, \
{ 0xae, 0xf7, 0x17, 0x6d, 0x8f, 0x1b, 0x18, 0x9d }}
class NS_NO_VTABLE NS_SCRIPTABLE nsILivemarkService : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILIVEMARKSERVICE_IID)
/* void start (); */
NS_SCRIPTABLE NS_IMETHOD Start(void) = 0;
/* void stopUpdateLivemarks (); */
NS_SCRIPTABLE NS_IMETHOD StopUpdateLivemarks(void) = 0;
/* long long createLivemark (in long long folder, in AString name, in nsIURI siteURI, in nsIURI feedURI, in long index); */
NS_SCRIPTABLE NS_IMETHOD CreateLivemark(PRInt64 folder, const nsAString & name, nsIURI *siteURI, nsIURI *feedURI, PRInt32 index, PRInt64 *_retval NS_OUTPARAM) = 0;
/* long long createLivemarkFolderOnly (in long long folder, in AString name, in nsIURI siteURI, in nsIURI feedURI, in long index); */
NS_SCRIPTABLE NS_IMETHOD CreateLivemarkFolderOnly(PRInt64 folder, const nsAString & name, nsIURI *siteURI, nsIURI *feedURI, PRInt32 index, PRInt64 *_retval NS_OUTPARAM) = 0;
/* boolean isLivemark (in long long folder); */
NS_SCRIPTABLE NS_IMETHOD IsLivemark(PRInt64 folder, bool *_retval NS_OUTPARAM) = 0;
/* long long getLivemarkIdForFeedURI (in nsIURI aFeedURI); */
NS_SCRIPTABLE NS_IMETHOD GetLivemarkIdForFeedURI(nsIURI *aFeedURI, PRInt64 *_retval NS_OUTPARAM) = 0;
/* nsIURI getSiteURI (in long long container); */
NS_SCRIPTABLE NS_IMETHOD GetSiteURI(PRInt64 container, nsIURI * *_retval NS_OUTPARAM) = 0;
/* void setSiteURI (in long long container, in nsIURI siteURI); */
NS_SCRIPTABLE NS_IMETHOD SetSiteURI(PRInt64 container, nsIURI *siteURI) = 0;
/* nsIURI getFeedURI (in long long container); */
NS_SCRIPTABLE NS_IMETHOD GetFeedURI(PRInt64 container, nsIURI * *_retval NS_OUTPARAM) = 0;
/* void setFeedURI (in long long container, in nsIURI feedURI); */
NS_SCRIPTABLE NS_IMETHOD SetFeedURI(PRInt64 container, nsIURI *feedURI) = 0;
/* void reloadAllLivemarks (); */
NS_SCRIPTABLE NS_IMETHOD ReloadAllLivemarks(void) = 0;
/* void reloadLivemarkFolder (in long long folderID); */
NS_SCRIPTABLE NS_IMETHOD ReloadLivemarkFolder(PRInt64 folderID) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsILivemarkService, NS_ILIVEMARKSERVICE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSILIVEMARKSERVICE \
NS_SCRIPTABLE NS_IMETHOD Start(void); \
NS_SCRIPTABLE NS_IMETHOD StopUpdateLivemarks(void); \
NS_SCRIPTABLE NS_IMETHOD CreateLivemark(PRInt64 folder, const nsAString & name, nsIURI *siteURI, nsIURI *feedURI, PRInt32 index, PRInt64 *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD CreateLivemarkFolderOnly(PRInt64 folder, const nsAString & name, nsIURI *siteURI, nsIURI *feedURI, PRInt32 index, PRInt64 *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD IsLivemark(PRInt64 folder, bool *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD GetLivemarkIdForFeedURI(nsIURI *aFeedURI, PRInt64 *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD GetSiteURI(PRInt64 container, nsIURI * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD SetSiteURI(PRInt64 container, nsIURI *siteURI); \
NS_SCRIPTABLE NS_IMETHOD GetFeedURI(PRInt64 container, nsIURI * *_retval NS_OUTPARAM); \
NS_SCRIPTABLE NS_IMETHOD SetFeedURI(PRInt64 container, nsIURI *feedURI); \
NS_SCRIPTABLE NS_IMETHOD ReloadAllLivemarks(void); \
NS_SCRIPTABLE NS_IMETHOD ReloadLivemarkFolder(PRInt64 folderID);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSILIVEMARKSERVICE(_to) \
NS_SCRIPTABLE NS_IMETHOD Start(void) { return _to Start(); } \
NS_SCRIPTABLE NS_IMETHOD StopUpdateLivemarks(void) { return _to StopUpdateLivemarks(); } \
NS_SCRIPTABLE NS_IMETHOD CreateLivemark(PRInt64 folder, const nsAString & name, nsIURI *siteURI, nsIURI *feedURI, PRInt32 index, PRInt64 *_retval NS_OUTPARAM) { return _to CreateLivemark(folder, name, siteURI, feedURI, index, _retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateLivemarkFolderOnly(PRInt64 folder, const nsAString & name, nsIURI *siteURI, nsIURI *feedURI, PRInt32 index, PRInt64 *_retval NS_OUTPARAM) { return _to CreateLivemarkFolderOnly(folder, name, siteURI, feedURI, index, _retval); } \
NS_SCRIPTABLE NS_IMETHOD IsLivemark(PRInt64 folder, bool *_retval NS_OUTPARAM) { return _to IsLivemark(folder, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetLivemarkIdForFeedURI(nsIURI *aFeedURI, PRInt64 *_retval NS_OUTPARAM) { return _to GetLivemarkIdForFeedURI(aFeedURI, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetSiteURI(PRInt64 container, nsIURI * *_retval NS_OUTPARAM) { return _to GetSiteURI(container, _retval); } \
NS_SCRIPTABLE NS_IMETHOD SetSiteURI(PRInt64 container, nsIURI *siteURI) { return _to SetSiteURI(container, siteURI); } \
NS_SCRIPTABLE NS_IMETHOD GetFeedURI(PRInt64 container, nsIURI * *_retval NS_OUTPARAM) { return _to GetFeedURI(container, _retval); } \
NS_SCRIPTABLE NS_IMETHOD SetFeedURI(PRInt64 container, nsIURI *feedURI) { return _to SetFeedURI(container, feedURI); } \
NS_SCRIPTABLE NS_IMETHOD ReloadAllLivemarks(void) { return _to ReloadAllLivemarks(); } \
NS_SCRIPTABLE NS_IMETHOD ReloadLivemarkFolder(PRInt64 folderID) { return _to ReloadLivemarkFolder(folderID); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSILIVEMARKSERVICE(_to) \
NS_SCRIPTABLE NS_IMETHOD Start(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Start(); } \
NS_SCRIPTABLE NS_IMETHOD StopUpdateLivemarks(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->StopUpdateLivemarks(); } \
NS_SCRIPTABLE NS_IMETHOD CreateLivemark(PRInt64 folder, const nsAString & name, nsIURI *siteURI, nsIURI *feedURI, PRInt32 index, PRInt64 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateLivemark(folder, name, siteURI, feedURI, index, _retval); } \
NS_SCRIPTABLE NS_IMETHOD CreateLivemarkFolderOnly(PRInt64 folder, const nsAString & name, nsIURI *siteURI, nsIURI *feedURI, PRInt32 index, PRInt64 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateLivemarkFolderOnly(folder, name, siteURI, feedURI, index, _retval); } \
NS_SCRIPTABLE NS_IMETHOD IsLivemark(PRInt64 folder, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsLivemark(folder, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetLivemarkIdForFeedURI(nsIURI *aFeedURI, PRInt64 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLivemarkIdForFeedURI(aFeedURI, _retval); } \
NS_SCRIPTABLE NS_IMETHOD GetSiteURI(PRInt64 container, nsIURI * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSiteURI(container, _retval); } \
NS_SCRIPTABLE NS_IMETHOD SetSiteURI(PRInt64 container, nsIURI *siteURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSiteURI(container, siteURI); } \
NS_SCRIPTABLE NS_IMETHOD GetFeedURI(PRInt64 container, nsIURI * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeedURI(container, _retval); } \
NS_SCRIPTABLE NS_IMETHOD SetFeedURI(PRInt64 container, nsIURI *feedURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFeedURI(container, feedURI); } \
NS_SCRIPTABLE NS_IMETHOD ReloadAllLivemarks(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ReloadAllLivemarks(); } \
NS_SCRIPTABLE NS_IMETHOD ReloadLivemarkFolder(PRInt64 folderID) { return !_to ? NS_ERROR_NULL_POINTER : _to->ReloadLivemarkFolder(folderID); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsLivemarkService : public nsILivemarkService
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSILIVEMARKSERVICE
nsLivemarkService();
private:
~nsLivemarkService();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsLivemarkService, nsILivemarkService)
nsLivemarkService::nsLivemarkService()
{
/* member initializers and constructor code */
}
nsLivemarkService::~nsLivemarkService()
{
/* destructor code */
}
/* void start (); */
NS_IMETHODIMP nsLivemarkService::Start()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void stopUpdateLivemarks (); */
NS_IMETHODIMP nsLivemarkService::StopUpdateLivemarks()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long long createLivemark (in long long folder, in AString name, in nsIURI siteURI, in nsIURI feedURI, in long index); */
NS_IMETHODIMP nsLivemarkService::CreateLivemark(PRInt64 folder, const nsAString & name, nsIURI *siteURI, nsIURI *feedURI, PRInt32 index, PRInt64 *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long long createLivemarkFolderOnly (in long long folder, in AString name, in nsIURI siteURI, in nsIURI feedURI, in long index); */
NS_IMETHODIMP nsLivemarkService::CreateLivemarkFolderOnly(PRInt64 folder, const nsAString & name, nsIURI *siteURI, nsIURI *feedURI, PRInt32 index, PRInt64 *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean isLivemark (in long long folder); */
NS_IMETHODIMP nsLivemarkService::IsLivemark(PRInt64 folder, bool *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* long long getLivemarkIdForFeedURI (in nsIURI aFeedURI); */
NS_IMETHODIMP nsLivemarkService::GetLivemarkIdForFeedURI(nsIURI *aFeedURI, PRInt64 *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIURI getSiteURI (in long long container); */
NS_IMETHODIMP nsLivemarkService::GetSiteURI(PRInt64 container, nsIURI * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setSiteURI (in long long container, in nsIURI siteURI); */
NS_IMETHODIMP nsLivemarkService::SetSiteURI(PRInt64 container, nsIURI *siteURI)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsIURI getFeedURI (in long long container); */
NS_IMETHODIMP nsLivemarkService::GetFeedURI(PRInt64 container, nsIURI * *_retval NS_OUTPARAM)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setFeedURI (in long long container, in nsIURI feedURI); */
NS_IMETHODIMP nsLivemarkService::SetFeedURI(PRInt64 container, nsIURI *feedURI)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void reloadAllLivemarks (); */
NS_IMETHODIMP nsLivemarkService::ReloadAllLivemarks()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void reloadLivemarkFolder (in long long folderID); */
NS_IMETHODIMP nsLivemarkService::ReloadLivemarkFolder(PRInt64 folderID)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#define LMANNO_FEEDURI "livemark/feedURI"
#endif /* __gen_nsILivemarkService_h__ */
|