calendar/base/backend/libical/calRecurrenceRule.h
author eslint <eslint@bugzilla.kewis.ch>
Fri, 08 Jul 2016 11:14:45 +0200
changeset 25939 b1be8f5e02be13b1fb3ea3734c095e0e4f784b3a
parent 20460 8374fc73b34e55b2851f8ce71a78792124871e41
child 34313 800083958fbff28505e21949e35db34901c9d71d
permissions -rw-r--r--
Bug 1280898 - Set up eslint for calendar files - initial rules and minimal automatic fixes. r=MakeMyDay MozReview-Commit-ID: 5UnTP50Iqtv

/* 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