calendar/base/backend/libical/calRecurrenceRule.h
author Jorg K <jorgk@jorgk.com>
Wed, 24 Apr 2019 09:40:08 +0200
changeset 34313 800083958fbff28505e21949e35db34901c9d71d
parent 20460 8374fc73b34e55b2851f8ce71a78792124871e41
child 46880 54f9468dbb9475e50f03198efb37cf635e8b6015
permissions -rw-r--r--
Bug 1546364 - Reformat to Google coding style in calendar/base/backend/libical. r=philipp # ignore-this-changeset

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#if !defined(INCLUDED_CAL_RECURRENCERULE_H)
#  define INCLUDED_CAL_RECURRENCERULE_H

#  include "calIRecurrenceRule.h"
#  include "calUtils.h"

extern "C" {
#  include "ical.h"
}

class calRecurrenceRule : public calIRecurrenceRule, public cal::XpcomBase {
 public:
  calRecurrenceRule();

  NS_DECL_ISUPPORTS
  NS_DECL_CALIRECURRENCEITEM
  NS_DECL_CALIRECURRENCERULE
 protected:
  virtual ~calRecurrenceRule() {}

  icalrecurrencetype mIcalRecur;

  bool mImmutable;
  bool mIsNegative;
  bool mIsByCount;
};

#endif  // INCLUDED_CAL_RECURRENCERULE_H