DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
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 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/calIChangeLog.idl
 */

#ifndef __gen_calIChangeLog_h__
#define __gen_calIChangeLog_h__


#ifndef __gen_calICalendar_h__
#include "calICalendar.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class calIGenericOperationListener; /* forward declaration */

class calIOperation; /* forward declaration */


/* starting interface:    calIOfflineStorage */
#define CALIOFFLINESTORAGE_IID_STR "36dc2c93-5851-40d2-9ba9-b1f6e682c75c"

#define CALIOFFLINESTORAGE_IID \
  {0x36dc2c93, 0x5851, 0x40d2, \
    { 0x9b, 0xa9, 0xb1, 0xf6, 0xe6, 0x82, 0xc7, 0x5c }}

class NS_NO_VTABLE calIOfflineStorage : public calICalendar {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIOFFLINESTORAGE_IID)

  /* void addOfflineItem (in calIItemBase aItem, in calIOperationListener aListener); */
  NS_IMETHOD AddOfflineItem(calIItemBase *aItem, calIOperationListener *aListener) = 0;

  /* void modifyOfflineItem (in calIItemBase aItem, in calIOperationListener aListener); */
  NS_IMETHOD ModifyOfflineItem(calIItemBase *aItem, calIOperationListener *aListener) = 0;

  /* void deleteOfflineItem (in calIItemBase aItem, in calIOperationListener aListener); */
  NS_IMETHOD DeleteOfflineItem(calIItemBase *aItem, calIOperationListener *aListener) = 0;

  /* void getItemOfflineFlag (in calIItemBase aItem, in calIOperationListener aListener); */
  NS_IMETHOD GetItemOfflineFlag(calIItemBase *aItem, calIOperationListener *aListener) = 0;

  /* void resetItemOfflineFlag (in calIItemBase aItem, in calIOperationListener aListener); */
  NS_IMETHOD ResetItemOfflineFlag(calIItemBase *aItem, calIOperationListener *aListener) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIOfflineStorage, CALIOFFLINESTORAGE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIOFFLINESTORAGE \
  NS_IMETHOD AddOfflineItem(calIItemBase *aItem, calIOperationListener *aListener) override; \
  NS_IMETHOD ModifyOfflineItem(calIItemBase *aItem, calIOperationListener *aListener) override; \
  NS_IMETHOD DeleteOfflineItem(calIItemBase *aItem, calIOperationListener *aListener) override; \
  NS_IMETHOD GetItemOfflineFlag(calIItemBase *aItem, calIOperationListener *aListener) override; \
  NS_IMETHOD ResetItemOfflineFlag(calIItemBase *aItem, calIOperationListener *aListener) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_CALIOFFLINESTORAGE \
  nsresult AddOfflineItem(calIItemBase *aItem, calIOperationListener *aListener); \
  nsresult ModifyOfflineItem(calIItemBase *aItem, calIOperationListener *aListener); \
  nsresult DeleteOfflineItem(calIItemBase *aItem, calIOperationListener *aListener); \
  nsresult GetItemOfflineFlag(calIItemBase *aItem, calIOperationListener *aListener); \
  nsresult ResetItemOfflineFlag(calIItemBase *aItem, calIOperationListener *aListener); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIOFFLINESTORAGE(_to) \
  NS_IMETHOD AddOfflineItem(calIItemBase *aItem, calIOperationListener *aListener) override { return _to AddOfflineItem(aItem, aListener); } \
  NS_IMETHOD ModifyOfflineItem(calIItemBase *aItem, calIOperationListener *aListener) override { return _to ModifyOfflineItem(aItem, aListener); } \
  NS_IMETHOD DeleteOfflineItem(calIItemBase *aItem, calIOperationListener *aListener) override { return _to DeleteOfflineItem(aItem, aListener); } \
  NS_IMETHOD GetItemOfflineFlag(calIItemBase *aItem, calIOperationListener *aListener) override { return _to GetItemOfflineFlag(aItem, aListener); } \
  NS_IMETHOD ResetItemOfflineFlag(calIItemBase *aItem, calIOperationListener *aListener) override { return _to ResetItemOfflineFlag(aItem, aListener); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIOFFLINESTORAGE(_to) \
  NS_IMETHOD AddOfflineItem(calIItemBase *aItem, calIOperationListener *aListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddOfflineItem(aItem, aListener); } \
  NS_IMETHOD ModifyOfflineItem(calIItemBase *aItem, calIOperationListener *aListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ModifyOfflineItem(aItem, aListener); } \
  NS_IMETHOD DeleteOfflineItem(calIItemBase *aItem, calIOperationListener *aListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteOfflineItem(aItem, aListener); } \
  NS_IMETHOD GetItemOfflineFlag(calIItemBase *aItem, calIOperationListener *aListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetItemOfflineFlag(aItem, aListener); } \
  NS_IMETHOD ResetItemOfflineFlag(calIItemBase *aItem, calIOperationListener *aListener) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ResetItemOfflineFlag(aItem, aListener); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class _MYCLASS_ : public calIOfflineStorage
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALIOFFLINESTORAGE

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calIOfflineStorage)

_MYCLASS_::_MYCLASS_()
{
  /* member initializers and constructor code */
}

_MYCLASS_::~_MYCLASS_()
{
  /* destructor code */
}

/* void addOfflineItem (in calIItemBase aItem, in calIOperationListener aListener); */
NS_IMETHODIMP _MYCLASS_::AddOfflineItem(calIItemBase *aItem, calIOperationListener *aListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void modifyOfflineItem (in calIItemBase aItem, in calIOperationListener aListener); */
NS_IMETHODIMP _MYCLASS_::ModifyOfflineItem(calIItemBase *aItem, calIOperationListener *aListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void deleteOfflineItem (in calIItemBase aItem, in calIOperationListener aListener); */
NS_IMETHODIMP _MYCLASS_::DeleteOfflineItem(calIItemBase *aItem, calIOperationListener *aListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getItemOfflineFlag (in calIItemBase aItem, in calIOperationListener aListener); */
NS_IMETHODIMP _MYCLASS_::GetItemOfflineFlag(calIItemBase *aItem, calIOperationListener *aListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void resetItemOfflineFlag (in calIItemBase aItem, in calIOperationListener aListener); */
NS_IMETHODIMP _MYCLASS_::ResetItemOfflineFlag(calIItemBase *aItem, calIOperationListener *aListener)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


/* starting interface:    calISyncWriteCalendar */
#define CALISYNCWRITECALENDAR_IID_STR "651e137b-2f3a-4595-af89-da51b6a37f85"

#define CALISYNCWRITECALENDAR_IID \
  {0x651e137b, 0x2f3a, 0x4595, \
    { 0xaf, 0x89, 0xda, 0x51, 0xb6, 0xa3, 0x7f, 0x85 }}

class NS_NO_VTABLE calISyncWriteCalendar : public calICalendar {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALISYNCWRITECALENDAR_IID)

  /* void setMetaData (in AUTF8String id, in AUTF8String value); */
  NS_IMETHOD SetMetaData(const nsACString & id, const nsACString & value) = 0;

  /* void deleteMetaData (in AUTF8String id); */
  NS_IMETHOD DeleteMetaData(const nsACString & id) = 0;

  /* AUTF8String getMetaData (in AUTF8String id); */
  NS_IMETHOD GetMetaData(const nsACString & id, nsACString & _retval) = 0;

  /* void getAllMetaData (out uint32_t count, [array, size_is (count)] out wstring ids, [array, size_is (count)] out wstring values); */
  NS_IMETHOD GetAllMetaData(uint32_t *count, char16_t * **ids, char16_t * **values) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calISyncWriteCalendar, CALISYNCWRITECALENDAR_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALISYNCWRITECALENDAR \
  NS_IMETHOD SetMetaData(const nsACString & id, const nsACString & value) override; \
  NS_IMETHOD DeleteMetaData(const nsACString & id) override; \
  NS_IMETHOD GetMetaData(const nsACString & id, nsACString & _retval) override; \
  NS_IMETHOD GetAllMetaData(uint32_t *count, char16_t * **ids, char16_t * **values) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_CALISYNCWRITECALENDAR \
  nsresult SetMetaData(const nsACString & id, const nsACString & value); \
  nsresult DeleteMetaData(const nsACString & id); \
  nsresult GetMetaData(const nsACString & id, nsACString & _retval); \
  nsresult GetAllMetaData(uint32_t *count, char16_t * **ids, char16_t * **values); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALISYNCWRITECALENDAR(_to) \
  NS_IMETHOD SetMetaData(const nsACString & id, const nsACString & value) override { return _to SetMetaData(id, value); } \
  NS_IMETHOD DeleteMetaData(const nsACString & id) override { return _to DeleteMetaData(id); } \
  NS_IMETHOD GetMetaData(const nsACString & id, nsACString & _retval) override { return _to GetMetaData(id, _retval); } \
  NS_IMETHOD GetAllMetaData(uint32_t *count, char16_t * **ids, char16_t * **values) override { return _to GetAllMetaData(count, ids, values); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALISYNCWRITECALENDAR(_to) \
  NS_IMETHOD SetMetaData(const nsACString & id, const nsACString & value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMetaData(id, value); } \
  NS_IMETHOD DeleteMetaData(const nsACString & id) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteMetaData(id); } \
  NS_IMETHOD GetMetaData(const nsACString & id, nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMetaData(id, _retval); } \
  NS_IMETHOD GetAllMetaData(uint32_t *count, char16_t * **ids, char16_t * **values) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAllMetaData(count, ids, values); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class _MYCLASS_ : public calISyncWriteCalendar
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALISYNCWRITECALENDAR

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calISyncWriteCalendar)

_MYCLASS_::_MYCLASS_()
{
  /* member initializers and constructor code */
}

_MYCLASS_::~_MYCLASS_()
{
  /* destructor code */
}

/* void setMetaData (in AUTF8String id, in AUTF8String value); */
NS_IMETHODIMP _MYCLASS_::SetMetaData(const nsACString & id, const nsACString & value)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void deleteMetaData (in AUTF8String id); */
NS_IMETHODIMP _MYCLASS_::DeleteMetaData(const nsACString & id)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AUTF8String getMetaData (in AUTF8String id); */
NS_IMETHODIMP _MYCLASS_::GetMetaData(const nsACString & id, nsACString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getAllMetaData (out uint32_t count, [array, size_is (count)] out wstring ids, [array, size_is (count)] out wstring values); */
NS_IMETHODIMP _MYCLASS_::GetAllMetaData(uint32_t *count, char16_t * **ids, char16_t * **values)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


/* starting interface:    calIChangeLog */
#define CALICHANGELOG_IID_STR "0bf4c6a2-b4c7-4cae-993a-4408d8bded3e"

#define CALICHANGELOG_IID \
  {0x0bf4c6a2, 0xb4c7, 0x4cae, \
    { 0x99, 0x3a, 0x44, 0x08, 0xd8, 0xbd, 0xed, 0x3e }}

class NS_NO_VTABLE calIChangeLog : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALICHANGELOG_IID)

  enum {
    OFFLINE_FLAG_CREATED_RECORD = 1,
    OFFLINE_FLAG_MODIFIED_RECORD = 2,
    OFFLINE_FLAG_DELETED_RECORD = 4
  };

  /* attribute calISyncWriteCalendar offlineStorage; */
  NS_IMETHOD GetOfflineStorage(calISyncWriteCalendar * *aOfflineStorage) = 0;
  NS_IMETHOD SetOfflineStorage(calISyncWriteCalendar *aOfflineStorage) = 0;

  /* void resetLog (); */
  NS_IMETHOD ResetLog(void) = 0;

  /* calIOperation replayChangesOn (in calIGenericOperationListener aListener); */
  NS_IMETHOD ReplayChangesOn(calIGenericOperationListener *aListener, calIOperation * *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIChangeLog, CALICHANGELOG_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALICHANGELOG \
  NS_IMETHOD GetOfflineStorage(calISyncWriteCalendar * *aOfflineStorage) override; \
  NS_IMETHOD SetOfflineStorage(calISyncWriteCalendar *aOfflineStorage) override; \
  NS_IMETHOD ResetLog(void) override; \
  NS_IMETHOD ReplayChangesOn(calIGenericOperationListener *aListener, calIOperation * *_retval) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_CALICHANGELOG \
  nsresult GetOfflineStorage(calISyncWriteCalendar * *aOfflineStorage); \
  nsresult SetOfflineStorage(calISyncWriteCalendar *aOfflineStorage); \
  nsresult ResetLog(void); \
  nsresult ReplayChangesOn(calIGenericOperationListener *aListener, calIOperation * *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALICHANGELOG(_to) \
  NS_IMETHOD GetOfflineStorage(calISyncWriteCalendar * *aOfflineStorage) override { return _to GetOfflineStorage(aOfflineStorage); } \
  NS_IMETHOD SetOfflineStorage(calISyncWriteCalendar *aOfflineStorage) override { return _to SetOfflineStorage(aOfflineStorage); } \
  NS_IMETHOD ResetLog(void) override { return _to ResetLog(); } \
  NS_IMETHOD ReplayChangesOn(calIGenericOperationListener *aListener, calIOperation * *_retval) override { return _to ReplayChangesOn(aListener, _retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALICHANGELOG(_to) \
  NS_IMETHOD GetOfflineStorage(calISyncWriteCalendar * *aOfflineStorage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOfflineStorage(aOfflineStorage); } \
  NS_IMETHOD SetOfflineStorage(calISyncWriteCalendar *aOfflineStorage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOfflineStorage(aOfflineStorage); } \
  NS_IMETHOD ResetLog(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ResetLog(); } \
  NS_IMETHOD ReplayChangesOn(calIGenericOperationListener *aListener, calIOperation * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ReplayChangesOn(aListener, _retval); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class _MYCLASS_ : public calIChangeLog
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALICHANGELOG

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calIChangeLog)

_MYCLASS_::_MYCLASS_()
{
  /* member initializers and constructor code */
}

_MYCLASS_::~_MYCLASS_()
{
  /* destructor code */
}

/* attribute calISyncWriteCalendar offlineStorage; */
NS_IMETHODIMP _MYCLASS_::GetOfflineStorage(calISyncWriteCalendar * *aOfflineStorage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetOfflineStorage(calISyncWriteCalendar *aOfflineStorage)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void resetLog (); */
NS_IMETHODIMP _MYCLASS_::ResetLog()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* calIOperation replayChangesOn (in calIGenericOperationListener aListener); */
NS_IMETHODIMP _MYCLASS_::ReplayChangesOn(calIGenericOperationListener *aListener, calIOperation * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_calIChangeLog_h__ */