IOFireWirePowerManager.h [plain text]
#ifndef _IOKIT_IOFIREWIREPOWERMANAGER_H
#define _IOKIT_IOFIREWIREPOWERMANAGER_H
#include <IOKit/firewire/IOFireWireFamilyCommon.h>
#include <libkern/c++/OSObject.h>
#include <IOKit/IOReturn.h>
class IOFireWireController;
class IOFireWirePowerManager : public OSObject
{
OSDeclareAbstractStructors(IOFireWirePowerManager);
protected:
struct ExpansionData { };
ExpansionData *reserved;
IOFireWireController * fControl;
UInt32 fMaximumDeciwatts;
UInt32 fAllocatedDeciwatts;
public:
static IOFireWirePowerManager * createWithController( IOFireWireController * controller );
virtual bool initWithController( IOFireWireController * controller );
virtual void setMaximumDeciwatts( UInt32 deciwatts );
virtual IOReturn allocateDeciwatts( UInt32 deciwatts );
virtual void deallocateDeciwatts( UInt32 deciwatts );
private:
OSMetaClassDeclareReservedUnused(IOFireWirePowerManager, 0);
OSMetaClassDeclareReservedUnused(IOFireWirePowerManager, 1);
OSMetaClassDeclareReservedUnused(IOFireWirePowerManager, 2);
OSMetaClassDeclareReservedUnused(IOFireWirePowerManager, 3);
OSMetaClassDeclareReservedUnused(IOFireWirePowerManager, 4);
OSMetaClassDeclareReservedUnused(IOFireWirePowerManager, 5);
OSMetaClassDeclareReservedUnused(IOFireWirePowerManager, 6);
OSMetaClassDeclareReservedUnused(IOFireWirePowerManager, 7);
OSMetaClassDeclareReservedUnused(IOFireWirePowerManager, 8);
OSMetaClassDeclareReservedUnused(IOFireWirePowerManager, 9);
};
#endif