rem: if (item instanceof Components.interfaces.calIEvent) { iid = Components.interfaces.calIEvent; } else if (item instanceof Components.interfaces.calITodo) { iid = Components.interfaces.calITodo; 
add: if (item instanceof Ci.calIEvent) { iid = Ci.calIEvent; } else if (item instanceof Ci.calITodo) { iid = Ci.calITodo; 
context:     getItem: function (aId, aListener) {        if (!aListener)            return;        if (aId == null ||            this.mItems[aId] == null) {            aListener.onOperationComplete(this.calendarToReturn,                                          Components.results.NS_ERROR_FAILURE,                                          aListener.GET,                                          null,                                          "IID doesn't exist for getItem");            return;        }        var item = this.mItems[aId];        var iid = null;        if (item instanceof Components.interfaces.calIEvent) {            iid = Components.interfaces.calIEvent;        } else if (item instanceof Components.interfaces.calITodo) {            iid = Components.interfaces.calITodo;        } else {            aListener.onOperationComplete (this.calendarToReturn,                                           Components.results.NS_ERROR_FAILURE,                                           aListener.GET,                                           aId,                                           "Can't deduce item type based on QI");            return;        }        aListener.onGetResult (this.calendarToReturn,                               Components.results.NS_OK,                               iid,                               null, 1, [item]);        aListener.onOperationComplete (this.calendarToReturn,                                       Components.results.NS_OK,                                       aListener.GET,                                       aId,                                       null);    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/c046772670fd455b8dab081e134a93e27d57b610/calMemoryCalendar.js/clean/calendar/providers/memory/calMemoryCalendar.js