calendar/base/backend/libical/calRecurrenceRule.h
author Magnus Melin <mkmelin+mozilla@iki.fi>
Sat, 13 Dec 2014 13:50:51 +0200
changeset 21490 2843a3e7968ba370c5e7b8723ccfff1fe7465fec
parent 20460 8374fc73b34e55b2851f8ce71a78792124871e41
child 34313 800083958fbff28505e21949e35db34901c9d71d
permissions -rw-r--r--
Bug 1068510 - React to the removal of ARMSCII8 (remove traces of if from comm-central). r=jcranmer, a=mkmelin

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