/usr/include/thunderbird/calICalendarView.h is in thunderbird-dev 1:38.6.0+build1-0ubuntu1.
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 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 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/calICalendarView.idl
*/
#ifndef __gen_calICalendarView_h__
#define __gen_calICalendarView_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 calICalendar; /* forward declaration */
class calIDateTime; /* forward declaration */
class calICalendarViewController; /* forward declaration */
class calIItemBase; /* forward declaration */
/* starting interface: calICalendarView */
#define CALICALENDARVIEW_IID_STR "0e392744-4b2e-4b64-8862-2fb707d900a7"
#define CALICALENDARVIEW_IID \
{0x0e392744, 0x4b2e, 0x4b64, \
{ 0x88, 0x62, 0x2f, 0xb7, 0x07, 0xd9, 0x00, 0xa7 }}
class NS_NO_VTABLE calICalendarView : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(CALICALENDARVIEW_IID)
/* readonly attribute AUTF8String observerID; */
NS_IMETHOD GetObserverID(nsACString & aObserverID) = 0;
/* readonly attribute boolean initialized; */
NS_IMETHOD GetInitialized(bool *aInitialized) = 0;
/* attribute calICalendar displayCalendar; */
NS_IMETHOD GetDisplayCalendar(calICalendar * *aDisplayCalendar) = 0;
NS_IMETHOD SetDisplayCalendar(calICalendar *aDisplayCalendar) = 0;
/* attribute calICalendarViewController controller; */
NS_IMETHOD GetController(calICalendarViewController * *aController) = 0;
NS_IMETHOD SetController(calICalendarViewController *aController) = 0;
/* readonly attribute boolean supportsWorkdaysOnly; */
NS_IMETHOD GetSupportsWorkdaysOnly(bool *aSupportsWorkdaysOnly) = 0;
/* attribute boolean workdaysOnly; */
NS_IMETHOD GetWorkdaysOnly(bool *aWorkdaysOnly) = 0;
NS_IMETHOD SetWorkdaysOnly(bool aWorkdaysOnly) = 0;
/* attribute boolean tasksInView; */
NS_IMETHOD GetTasksInView(bool *aTasksInView) = 0;
NS_IMETHOD SetTasksInView(bool aTasksInView) = 0;
/* readonly attribute boolean supportsRotation; */
NS_IMETHOD GetSupportsRotation(bool *aSupportsRotation) = 0;
/* attribute boolean rotated; */
NS_IMETHOD GetRotated(bool *aRotated) = 0;
NS_IMETHOD SetRotated(bool aRotated) = 0;
/* readonly attribute boolean supportsZoom; */
NS_IMETHOD GetSupportsZoom(bool *aSupportsZoom) = 0;
/* void zoomIn ([optional] in uint32_t level); */
NS_IMETHOD ZoomIn(uint32_t level) = 0;
/* void zoomOut ([optional] in uint32_t level); */
NS_IMETHOD ZoomOut(uint32_t level) = 0;
/* void zoomReset (); */
NS_IMETHOD ZoomReset(void) = 0;
/* attribute boolean showCompleted; */
NS_IMETHOD GetShowCompleted(bool *aShowCompleted) = 0;
NS_IMETHOD SetShowCompleted(bool aShowCompleted) = 0;
/* void showDate (in calIDateTime aDate); */
NS_IMETHOD ShowDate(calIDateTime *aDate) = 0;
/* void setDateRange (in calIDateTime aStartDate, in calIDateTime aEndDate); */
NS_IMETHOD SetDateRange(calIDateTime *aStartDate, calIDateTime *aEndDate) = 0;
/* readonly attribute calIDateTime startDate; */
NS_IMETHOD GetStartDate(calIDateTime * *aStartDate) = 0;
/* readonly attribute calIDateTime endDate; */
NS_IMETHOD GetEndDate(calIDateTime * *aEndDate) = 0;
/* readonly attribute calIDateTime startDay; */
NS_IMETHOD GetStartDay(calIDateTime * *aStartDay) = 0;
/* readonly attribute calIDateTime endDay; */
NS_IMETHOD GetEndDay(calIDateTime * *aEndDay) = 0;
/* readonly attribute boolean supportsDisjointDates; */
NS_IMETHOD GetSupportsDisjointDates(bool *aSupportsDisjointDates) = 0;
/* readonly attribute boolean hasDisjointDates; */
NS_IMETHOD GetHasDisjointDates(bool *aHasDisjointDates) = 0;
/* void getDateList (out unsigned long aCount, [array, size_is (aCount), retval] out calIDateTime aDates); */
NS_IMETHOD GetDateList(uint32_t *aCount, calIDateTime * **aDates) = 0;
/* void getSelectedItems (out unsigned long aCount, [array, size_is (aCount), retval] out calIItemBase aItems); */
NS_IMETHOD GetSelectedItems(uint32_t *aCount, calIItemBase * **aItems) = 0;
/* void setSelectedItems (in unsigned long aCount, [array, size_is (aCount)] in calIItemBase aItems, in boolean aSuppressEvent); */
NS_IMETHOD SetSelectedItems(uint32_t aCount, calIItemBase **aItems, bool aSuppressEvent) = 0;
/* void centerSelectedItems (); */
NS_IMETHOD CenterSelectedItems(void) = 0;
/* attribute calIDateTime selectedDay; */
NS_IMETHOD GetSelectedDay(calIDateTime * *aSelectedDay) = 0;
NS_IMETHOD SetSelectedDay(calIDateTime *aSelectedDay) = 0;
/* attribute AUTF8String timezone; */
NS_IMETHOD GetTimezone(nsACString & aTimezone) = 0;
NS_IMETHOD SetTimezone(const nsACString & aTimezone) = 0;
/* void goToDay (in calIDateTime aDate); */
NS_IMETHOD GoToDay(calIDateTime *aDate) = 0;
/* void moveView (in long aNumber); */
NS_IMETHOD MoveView(int32_t aNumber) = 0;
/* AString getRangeDescription (); */
NS_IMETHOD GetRangeDescription(nsAString & _retval) = 0;
/* readonly attribute string type; */
NS_IMETHOD GetType(char * *aType) = 0;
/* void removeDropShadows (); */
NS_IMETHOD RemoveDropShadows(void) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(calICalendarView, CALICALENDARVIEW_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALICALENDARVIEW \
NS_IMETHOD GetObserverID(nsACString & aObserverID) override; \
NS_IMETHOD GetInitialized(bool *aInitialized) override; \
NS_IMETHOD GetDisplayCalendar(calICalendar * *aDisplayCalendar) override; \
NS_IMETHOD SetDisplayCalendar(calICalendar *aDisplayCalendar) override; \
NS_IMETHOD GetController(calICalendarViewController * *aController) override; \
NS_IMETHOD SetController(calICalendarViewController *aController) override; \
NS_IMETHOD GetSupportsWorkdaysOnly(bool *aSupportsWorkdaysOnly) override; \
NS_IMETHOD GetWorkdaysOnly(bool *aWorkdaysOnly) override; \
NS_IMETHOD SetWorkdaysOnly(bool aWorkdaysOnly) override; \
NS_IMETHOD GetTasksInView(bool *aTasksInView) override; \
NS_IMETHOD SetTasksInView(bool aTasksInView) override; \
NS_IMETHOD GetSupportsRotation(bool *aSupportsRotation) override; \
NS_IMETHOD GetRotated(bool *aRotated) override; \
NS_IMETHOD SetRotated(bool aRotated) override; \
NS_IMETHOD GetSupportsZoom(bool *aSupportsZoom) override; \
NS_IMETHOD ZoomIn(uint32_t level) override; \
NS_IMETHOD ZoomOut(uint32_t level) override; \
NS_IMETHOD ZoomReset(void) override; \
NS_IMETHOD GetShowCompleted(bool *aShowCompleted) override; \
NS_IMETHOD SetShowCompleted(bool aShowCompleted) override; \
NS_IMETHOD ShowDate(calIDateTime *aDate) override; \
NS_IMETHOD SetDateRange(calIDateTime *aStartDate, calIDateTime *aEndDate) override; \
NS_IMETHOD GetStartDate(calIDateTime * *aStartDate) override; \
NS_IMETHOD GetEndDate(calIDateTime * *aEndDate) override; \
NS_IMETHOD GetStartDay(calIDateTime * *aStartDay) override; \
NS_IMETHOD GetEndDay(calIDateTime * *aEndDay) override; \
NS_IMETHOD GetSupportsDisjointDates(bool *aSupportsDisjointDates) override; \
NS_IMETHOD GetHasDisjointDates(bool *aHasDisjointDates) override; \
NS_IMETHOD GetDateList(uint32_t *aCount, calIDateTime * **aDates) override; \
NS_IMETHOD GetSelectedItems(uint32_t *aCount, calIItemBase * **aItems) override; \
NS_IMETHOD SetSelectedItems(uint32_t aCount, calIItemBase **aItems, bool aSuppressEvent) override; \
NS_IMETHOD CenterSelectedItems(void) override; \
NS_IMETHOD GetSelectedDay(calIDateTime * *aSelectedDay) override; \
NS_IMETHOD SetSelectedDay(calIDateTime *aSelectedDay) override; \
NS_IMETHOD GetTimezone(nsACString & aTimezone) override; \
NS_IMETHOD SetTimezone(const nsACString & aTimezone) override; \
NS_IMETHOD GoToDay(calIDateTime *aDate) override; \
NS_IMETHOD MoveView(int32_t aNumber) override; \
NS_IMETHOD GetRangeDescription(nsAString & _retval) override; \
NS_IMETHOD GetType(char * *aType) override; \
NS_IMETHOD RemoveDropShadows(void) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALICALENDARVIEW(_to) \
NS_IMETHOD GetObserverID(nsACString & aObserverID) override { return _to GetObserverID(aObserverID); } \
NS_IMETHOD GetInitialized(bool *aInitialized) override { return _to GetInitialized(aInitialized); } \
NS_IMETHOD GetDisplayCalendar(calICalendar * *aDisplayCalendar) override { return _to GetDisplayCalendar(aDisplayCalendar); } \
NS_IMETHOD SetDisplayCalendar(calICalendar *aDisplayCalendar) override { return _to SetDisplayCalendar(aDisplayCalendar); } \
NS_IMETHOD GetController(calICalendarViewController * *aController) override { return _to GetController(aController); } \
NS_IMETHOD SetController(calICalendarViewController *aController) override { return _to SetController(aController); } \
NS_IMETHOD GetSupportsWorkdaysOnly(bool *aSupportsWorkdaysOnly) override { return _to GetSupportsWorkdaysOnly(aSupportsWorkdaysOnly); } \
NS_IMETHOD GetWorkdaysOnly(bool *aWorkdaysOnly) override { return _to GetWorkdaysOnly(aWorkdaysOnly); } \
NS_IMETHOD SetWorkdaysOnly(bool aWorkdaysOnly) override { return _to SetWorkdaysOnly(aWorkdaysOnly); } \
NS_IMETHOD GetTasksInView(bool *aTasksInView) override { return _to GetTasksInView(aTasksInView); } \
NS_IMETHOD SetTasksInView(bool aTasksInView) override { return _to SetTasksInView(aTasksInView); } \
NS_IMETHOD GetSupportsRotation(bool *aSupportsRotation) override { return _to GetSupportsRotation(aSupportsRotation); } \
NS_IMETHOD GetRotated(bool *aRotated) override { return _to GetRotated(aRotated); } \
NS_IMETHOD SetRotated(bool aRotated) override { return _to SetRotated(aRotated); } \
NS_IMETHOD GetSupportsZoom(bool *aSupportsZoom) override { return _to GetSupportsZoom(aSupportsZoom); } \
NS_IMETHOD ZoomIn(uint32_t level) override { return _to ZoomIn(level); } \
NS_IMETHOD ZoomOut(uint32_t level) override { return _to ZoomOut(level); } \
NS_IMETHOD ZoomReset(void) override { return _to ZoomReset(); } \
NS_IMETHOD GetShowCompleted(bool *aShowCompleted) override { return _to GetShowCompleted(aShowCompleted); } \
NS_IMETHOD SetShowCompleted(bool aShowCompleted) override { return _to SetShowCompleted(aShowCompleted); } \
NS_IMETHOD ShowDate(calIDateTime *aDate) override { return _to ShowDate(aDate); } \
NS_IMETHOD SetDateRange(calIDateTime *aStartDate, calIDateTime *aEndDate) override { return _to SetDateRange(aStartDate, aEndDate); } \
NS_IMETHOD GetStartDate(calIDateTime * *aStartDate) override { return _to GetStartDate(aStartDate); } \
NS_IMETHOD GetEndDate(calIDateTime * *aEndDate) override { return _to GetEndDate(aEndDate); } \
NS_IMETHOD GetStartDay(calIDateTime * *aStartDay) override { return _to GetStartDay(aStartDay); } \
NS_IMETHOD GetEndDay(calIDateTime * *aEndDay) override { return _to GetEndDay(aEndDay); } \
NS_IMETHOD GetSupportsDisjointDates(bool *aSupportsDisjointDates) override { return _to GetSupportsDisjointDates(aSupportsDisjointDates); } \
NS_IMETHOD GetHasDisjointDates(bool *aHasDisjointDates) override { return _to GetHasDisjointDates(aHasDisjointDates); } \
NS_IMETHOD GetDateList(uint32_t *aCount, calIDateTime * **aDates) override { return _to GetDateList(aCount, aDates); } \
NS_IMETHOD GetSelectedItems(uint32_t *aCount, calIItemBase * **aItems) override { return _to GetSelectedItems(aCount, aItems); } \
NS_IMETHOD SetSelectedItems(uint32_t aCount, calIItemBase **aItems, bool aSuppressEvent) override { return _to SetSelectedItems(aCount, aItems, aSuppressEvent); } \
NS_IMETHOD CenterSelectedItems(void) override { return _to CenterSelectedItems(); } \
NS_IMETHOD GetSelectedDay(calIDateTime * *aSelectedDay) override { return _to GetSelectedDay(aSelectedDay); } \
NS_IMETHOD SetSelectedDay(calIDateTime *aSelectedDay) override { return _to SetSelectedDay(aSelectedDay); } \
NS_IMETHOD GetTimezone(nsACString & aTimezone) override { return _to GetTimezone(aTimezone); } \
NS_IMETHOD SetTimezone(const nsACString & aTimezone) override { return _to SetTimezone(aTimezone); } \
NS_IMETHOD GoToDay(calIDateTime *aDate) override { return _to GoToDay(aDate); } \
NS_IMETHOD MoveView(int32_t aNumber) override { return _to MoveView(aNumber); } \
NS_IMETHOD GetRangeDescription(nsAString & _retval) override { return _to GetRangeDescription(_retval); } \
NS_IMETHOD GetType(char * *aType) override { return _to GetType(aType); } \
NS_IMETHOD RemoveDropShadows(void) override { return _to RemoveDropShadows(); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALICALENDARVIEW(_to) \
NS_IMETHOD GetObserverID(nsACString & aObserverID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetObserverID(aObserverID); } \
NS_IMETHOD GetInitialized(bool *aInitialized) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInitialized(aInitialized); } \
NS_IMETHOD GetDisplayCalendar(calICalendar * *aDisplayCalendar) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisplayCalendar(aDisplayCalendar); } \
NS_IMETHOD SetDisplayCalendar(calICalendar *aDisplayCalendar) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisplayCalendar(aDisplayCalendar); } \
NS_IMETHOD GetController(calICalendarViewController * *aController) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetController(aController); } \
NS_IMETHOD SetController(calICalendarViewController *aController) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetController(aController); } \
NS_IMETHOD GetSupportsWorkdaysOnly(bool *aSupportsWorkdaysOnly) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSupportsWorkdaysOnly(aSupportsWorkdaysOnly); } \
NS_IMETHOD GetWorkdaysOnly(bool *aWorkdaysOnly) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWorkdaysOnly(aWorkdaysOnly); } \
NS_IMETHOD SetWorkdaysOnly(bool aWorkdaysOnly) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWorkdaysOnly(aWorkdaysOnly); } \
NS_IMETHOD GetTasksInView(bool *aTasksInView) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTasksInView(aTasksInView); } \
NS_IMETHOD SetTasksInView(bool aTasksInView) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTasksInView(aTasksInView); } \
NS_IMETHOD GetSupportsRotation(bool *aSupportsRotation) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSupportsRotation(aSupportsRotation); } \
NS_IMETHOD GetRotated(bool *aRotated) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRotated(aRotated); } \
NS_IMETHOD SetRotated(bool aRotated) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRotated(aRotated); } \
NS_IMETHOD GetSupportsZoom(bool *aSupportsZoom) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSupportsZoom(aSupportsZoom); } \
NS_IMETHOD ZoomIn(uint32_t level) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ZoomIn(level); } \
NS_IMETHOD ZoomOut(uint32_t level) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ZoomOut(level); } \
NS_IMETHOD ZoomReset(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ZoomReset(); } \
NS_IMETHOD GetShowCompleted(bool *aShowCompleted) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetShowCompleted(aShowCompleted); } \
NS_IMETHOD SetShowCompleted(bool aShowCompleted) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetShowCompleted(aShowCompleted); } \
NS_IMETHOD ShowDate(calIDateTime *aDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowDate(aDate); } \
NS_IMETHOD SetDateRange(calIDateTime *aStartDate, calIDateTime *aEndDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDateRange(aStartDate, aEndDate); } \
NS_IMETHOD GetStartDate(calIDateTime * *aStartDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartDate(aStartDate); } \
NS_IMETHOD GetEndDate(calIDateTime * *aEndDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEndDate(aEndDate); } \
NS_IMETHOD GetStartDay(calIDateTime * *aStartDay) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartDay(aStartDay); } \
NS_IMETHOD GetEndDay(calIDateTime * *aEndDay) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEndDay(aEndDay); } \
NS_IMETHOD GetSupportsDisjointDates(bool *aSupportsDisjointDates) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSupportsDisjointDates(aSupportsDisjointDates); } \
NS_IMETHOD GetHasDisjointDates(bool *aHasDisjointDates) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHasDisjointDates(aHasDisjointDates); } \
NS_IMETHOD GetDateList(uint32_t *aCount, calIDateTime * **aDates) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDateList(aCount, aDates); } \
NS_IMETHOD GetSelectedItems(uint32_t *aCount, calIItemBase * **aItems) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedItems(aCount, aItems); } \
NS_IMETHOD SetSelectedItems(uint32_t aCount, calIItemBase **aItems, bool aSuppressEvent) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelectedItems(aCount, aItems, aSuppressEvent); } \
NS_IMETHOD CenterSelectedItems(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CenterSelectedItems(); } \
NS_IMETHOD GetSelectedDay(calIDateTime * *aSelectedDay) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelectedDay(aSelectedDay); } \
NS_IMETHOD SetSelectedDay(calIDateTime *aSelectedDay) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSelectedDay(aSelectedDay); } \
NS_IMETHOD GetTimezone(nsACString & aTimezone) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTimezone(aTimezone); } \
NS_IMETHOD SetTimezone(const nsACString & aTimezone) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTimezone(aTimezone); } \
NS_IMETHOD GoToDay(calIDateTime *aDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GoToDay(aDate); } \
NS_IMETHOD MoveView(int32_t aNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MoveView(aNumber); } \
NS_IMETHOD GetRangeDescription(nsAString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRangeDescription(_retval); } \
NS_IMETHOD GetType(char * *aType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
NS_IMETHOD RemoveDropShadows(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveDropShadows(); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class _MYCLASS_ : public calICalendarView
{
public:
NS_DECL_ISUPPORTS
NS_DECL_CALICALENDARVIEW
_MYCLASS_();
private:
~_MYCLASS_();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calICalendarView)
_MYCLASS_::_MYCLASS_()
{
/* member initializers and constructor code */
}
_MYCLASS_::~_MYCLASS_()
{
/* destructor code */
}
/* readonly attribute AUTF8String observerID; */
NS_IMETHODIMP _MYCLASS_::GetObserverID(nsACString & aObserverID)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean initialized; */
NS_IMETHODIMP _MYCLASS_::GetInitialized(bool *aInitialized)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute calICalendar displayCalendar; */
NS_IMETHODIMP _MYCLASS_::GetDisplayCalendar(calICalendar * *aDisplayCalendar)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetDisplayCalendar(calICalendar *aDisplayCalendar)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute calICalendarViewController controller; */
NS_IMETHODIMP _MYCLASS_::GetController(calICalendarViewController * *aController)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetController(calICalendarViewController *aController)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean supportsWorkdaysOnly; */
NS_IMETHODIMP _MYCLASS_::GetSupportsWorkdaysOnly(bool *aSupportsWorkdaysOnly)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean workdaysOnly; */
NS_IMETHODIMP _MYCLASS_::GetWorkdaysOnly(bool *aWorkdaysOnly)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetWorkdaysOnly(bool aWorkdaysOnly)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean tasksInView; */
NS_IMETHODIMP _MYCLASS_::GetTasksInView(bool *aTasksInView)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetTasksInView(bool aTasksInView)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean supportsRotation; */
NS_IMETHODIMP _MYCLASS_::GetSupportsRotation(bool *aSupportsRotation)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean rotated; */
NS_IMETHODIMP _MYCLASS_::GetRotated(bool *aRotated)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetRotated(bool aRotated)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean supportsZoom; */
NS_IMETHODIMP _MYCLASS_::GetSupportsZoom(bool *aSupportsZoom)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void zoomIn ([optional] in uint32_t level); */
NS_IMETHODIMP _MYCLASS_::ZoomIn(uint32_t level)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void zoomOut ([optional] in uint32_t level); */
NS_IMETHODIMP _MYCLASS_::ZoomOut(uint32_t level)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void zoomReset (); */
NS_IMETHODIMP _MYCLASS_::ZoomReset()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean showCompleted; */
NS_IMETHODIMP _MYCLASS_::GetShowCompleted(bool *aShowCompleted)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetShowCompleted(bool aShowCompleted)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void showDate (in calIDateTime aDate); */
NS_IMETHODIMP _MYCLASS_::ShowDate(calIDateTime *aDate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setDateRange (in calIDateTime aStartDate, in calIDateTime aEndDate); */
NS_IMETHODIMP _MYCLASS_::SetDateRange(calIDateTime *aStartDate, calIDateTime *aEndDate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute calIDateTime startDate; */
NS_IMETHODIMP _MYCLASS_::GetStartDate(calIDateTime * *aStartDate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute calIDateTime endDate; */
NS_IMETHODIMP _MYCLASS_::GetEndDate(calIDateTime * *aEndDate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute calIDateTime startDay; */
NS_IMETHODIMP _MYCLASS_::GetStartDay(calIDateTime * *aStartDay)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute calIDateTime endDay; */
NS_IMETHODIMP _MYCLASS_::GetEndDay(calIDateTime * *aEndDay)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean supportsDisjointDates; */
NS_IMETHODIMP _MYCLASS_::GetSupportsDisjointDates(bool *aSupportsDisjointDates)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean hasDisjointDates; */
NS_IMETHODIMP _MYCLASS_::GetHasDisjointDates(bool *aHasDisjointDates)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getDateList (out unsigned long aCount, [array, size_is (aCount), retval] out calIDateTime aDates); */
NS_IMETHODIMP _MYCLASS_::GetDateList(uint32_t *aCount, calIDateTime * **aDates)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void getSelectedItems (out unsigned long aCount, [array, size_is (aCount), retval] out calIItemBase aItems); */
NS_IMETHODIMP _MYCLASS_::GetSelectedItems(uint32_t *aCount, calIItemBase * **aItems)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setSelectedItems (in unsigned long aCount, [array, size_is (aCount)] in calIItemBase aItems, in boolean aSuppressEvent); */
NS_IMETHODIMP _MYCLASS_::SetSelectedItems(uint32_t aCount, calIItemBase **aItems, bool aSuppressEvent)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void centerSelectedItems (); */
NS_IMETHODIMP _MYCLASS_::CenterSelectedItems()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute calIDateTime selectedDay; */
NS_IMETHODIMP _MYCLASS_::GetSelectedDay(calIDateTime * *aSelectedDay)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetSelectedDay(calIDateTime *aSelectedDay)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute AUTF8String timezone; */
NS_IMETHODIMP _MYCLASS_::GetTimezone(nsACString & aTimezone)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetTimezone(const nsACString & aTimezone)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void goToDay (in calIDateTime aDate); */
NS_IMETHODIMP _MYCLASS_::GoToDay(calIDateTime *aDate)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void moveView (in long aNumber); */
NS_IMETHODIMP _MYCLASS_::MoveView(int32_t aNumber)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* AString getRangeDescription (); */
NS_IMETHODIMP _MYCLASS_::GetRangeDescription(nsAString & _retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute string type; */
NS_IMETHODIMP _MYCLASS_::GetType(char * *aType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void removeDropShadows (); */
NS_IMETHODIMP _MYCLASS_::RemoveDropShadows()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_calICalendarView_h__ */
|