зеркало из https://github.com/mozilla/pjs.git
removed obsolete contacts IDL attribute from calICalendar (npotb)
This commit is contained in:
Родитель
0934e8a386
Коммит
6790115530
|
@ -136,11 +136,6 @@ interface calIItemBase : nsISupports
|
||||||
// if this item is mutable, the returned array will be a nsIMutableArray
|
// if this item is mutable, the returned array will be a nsIMutableArray
|
||||||
readonly attribute nsIArray attachments;
|
readonly attribute nsIArray attachments;
|
||||||
|
|
||||||
// contacts
|
|
||||||
// array of nsIAbCard
|
|
||||||
// if this item is mutable, the returned array will be a nsIMutableArray
|
|
||||||
readonly attribute nsIArray contacts;
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// other properties come in through a property bag
|
// other properties come in through a property bag
|
||||||
//
|
//
|
||||||
|
|
|
@ -46,7 +46,6 @@ calItemBase.prototype = {
|
||||||
|
|
||||||
this.mRecurrenceInfo = null;
|
this.mRecurrenceInfo = null;
|
||||||
this.mAttachments = null;
|
this.mAttachments = null;
|
||||||
this.mContacts = null;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
@ -73,7 +72,6 @@ calItemBase.prototype = {
|
||||||
|
|
||||||
|
|
||||||
m.mAttachments = this.mAttachments;
|
m.mAttachments = this.mAttachments;
|
||||||
m.mContacts = this.mContacts;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -99,7 +97,6 @@ calItemBase.prototype = {
|
||||||
mAlarmTime: null, get alarmTime() { return this.mAlarmTime; }, set alarmTime(v) { if (this.mImmutable) throw Components.results.NS_ERROR_FAILURE; else this.mAlarmTime = v; },
|
mAlarmTime: null, get alarmTime() { return this.mAlarmTime; }, set alarmTime(v) { if (this.mImmutable) throw Components.results.NS_ERROR_FAILURE; else this.mAlarmTime = v; },
|
||||||
mRecurrenceInfo: null, get recurrenceInfo() { return this.mRecurrenceInfo; }, set recurrenceInfo(v) { if (this.mImmutable) throw Components.results.NS_ERROR_FAILURE; else this.mRecurrenceInfo = v; },
|
mRecurrenceInfo: null, get recurrenceInfo() { return this.mRecurrenceInfo; }, set recurrenceInfo(v) { if (this.mImmutable) throw Components.results.NS_ERROR_FAILURE; else this.mRecurrenceInfo = v; },
|
||||||
mAttachments: null, get attachments() { return this.mAttachments; }, set attachments(v) { if (this.mImmutable) throw Components.results.NS_ERROR_FAILURE; else this.mAttachments = v; },
|
mAttachments: null, get attachments() { return this.mAttachments; }, set attachments(v) { if (this.mImmutable) throw Components.results.NS_ERROR_FAILURE; else this.mAttachments = v; },
|
||||||
mContacts: null, get contacts() { return this.mContacts; }, set contacts(v) { if (this.mImmutable) throw Components.results.NS_ERROR_FAILURE; else this.mContacts = v; },
|
|
||||||
mProperties: null, get properties() { return this.mProperties; }, set properties(v) { if (this.mImmutable) throw Components.results.NS_ERROR_FAILURE; else this.mProperties = v; },
|
mProperties: null, get properties() { return this.mProperties; }, set properties(v) { if (this.mImmutable) throw Components.results.NS_ERROR_FAILURE; else this.mProperties = v; },
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,6 @@ calItemBase.prototype = {
|
||||||
// fix me
|
// fix me
|
||||||
this.mRecurrenceInfo = null;
|
this.mRecurrenceInfo = null;
|
||||||
this.mAttachments = null;
|
this.mAttachments = null;
|
||||||
this.mContacts = null;
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// for subclasses to use; copies the ItemBase's values
|
// for subclasses to use; copies the ItemBase's values
|
||||||
|
@ -115,7 +114,6 @@ calItemBase.prototype = {
|
||||||
|
|
||||||
// these need fixing
|
// these need fixing
|
||||||
m.mAttachments = this.mAttachments;
|
m.mAttachments = this.mAttachments;
|
||||||
m.mContacts = this.mContacts;
|
|
||||||
|
|
||||||
// m.mProperties = this.mProperties;
|
// m.mProperties = this.mProperties;
|
||||||
|
|
||||||
|
@ -141,7 +139,6 @@ calItemBase.prototype = {
|
||||||
MEMBER_ATTR(mAlarmTime, null, alarmTime),
|
MEMBER_ATTR(mAlarmTime, null, alarmTime),
|
||||||
MEMBER_ATTR(mRecurrenceInfo, null, recurrenceInfo),
|
MEMBER_ATTR(mRecurrenceInfo, null, recurrenceInfo),
|
||||||
MEMBER_ATTR(mAttachments, null, attachments),
|
MEMBER_ATTR(mAttachments, null, attachments),
|
||||||
MEMBER_ATTR(mContacts, null, contacts),
|
|
||||||
MEMBER_ATTR(mProperties, null, properties),
|
MEMBER_ATTR(mProperties, null, properties),
|
||||||
|
|
||||||
#undef MEMBER_ATTR
|
#undef MEMBER_ATTR
|
||||||
|
|
Загрузка…
Ссылка в новой задаче