]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/IOKit/pwr_mgt/IOPMPowerSourceList.h
xnu-792.21.3.tar.gz
[apple/xnu.git] / iokit / IOKit / pwr_mgt / IOPMPowerSourceList.h
index cb1c8ea37e387081e2a1b93c2707d91b3237cc0f..69666035ac291d4228324c03694c1a4c5ee27fe7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998-2005 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 1998-2000 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
@@ -32,23 +32,27 @@ class IOPMPowerSource;
 
 class IOPMPowerSourceList : public OSObject
 {
-    OSDeclareDefaultStructors(IOPMPowerSourceList)
- private:
-    // pointer to first power source in list
-    IOPMPowerSource         *firstItem;
-
-    // how many power sources are in the list
-    unsigned long           length;
-
-  public:
-    void initialize(void);
-    void free(void);
-
-    unsigned long numberOfItems(void);
-    IOReturn addToList(IOPMPowerSource *newPowerSource);
-    IOReturn removeFromList(IOPMPowerSource *theItem);
-    
-    IOPMPowerSource *firstInList(void);
-    IOPMPowerSource *nextInList(IOPMPowerSource *currentItem);
+OSDeclareDefaultStructors(IOPMPowerSourceList)
+
+private:
+
+IOPMPowerSource * firstItem;           // pointer to first power source in list
+unsigned long  length;                 // how many power sources are in the list
+
+
+public:
+void initialize ( void );
+
+IOReturn addToList ( IOPMPowerSource *   newPowerSource );
+
+IOPMPowerSource * firstInList ( void );
+
+IOPMPowerSource * nextInList ( IOPMPowerSource * currentItem );
+
+unsigned long numberOfItems ( void );
+
+IOReturn removeFromList ( IOPMPowerSource * theItem );
+
+void free ( void );
 };