class IOPMinformeeList : public OSObject
{
OSDeclareDefaultStructors(IOPMinformeeList)
+ friend class IOPMinformee;
private:
- IOPMinformee *firstItem; // pointer to first informee in the list
- unsigned long length; // how many informees are in the list
+ // pointer to first informee in the list
+ IOPMinformee *firstItem;
+ // how many informees are in the list
+ unsigned long length;
public:
void initialize ( void );
unsigned long numberOfItems ( void );
+ IOPMinformee *appendNewInformee( IOService * newObject );
+
+ // OBSOLETE
+ // do not use addToList(); Use appendNewInformee() instead
IOReturn addToList ( IOPMinformee * newInformee );
IOReturn removeFromList ( IOService * theItem );