AppleMediaBayATANub.h [plain text]
#ifndef _APPLEMEDIABAYATANUB_H_
#define _APPLEMEDIABAYATANUB_H_
#include <IOKit/platform/AppleMacIODevice.h>
#include "AppleMediaBay.h"
class AppleMediaBayATANub : public AppleMacIODevice
{
OSDeclareDefaultStructors(AppleMediaBayATANub)
private:
AppleMediaBay *effectiveProvider;
AppleMacIO *effectiveMacIO;
AppleMacIODevice *parentObject;
bool setCorrectPropertyTable();
IORegistryEntry *findDTMediaBay(IOService *fromHere);
public:
virtual IOService *probe( IOService * provider, SInt32 * score );
virtual bool start(IOService *provider);
virtual void stop(IOService *provider);
virtual bool initForPM (IOService *provider);
virtual bool compareName( OSString * name, OSString ** matched = 0 ) const;
virtual IOReturn getResources( void );
virtual void handleDeviceInsertion();
virtual void handleDeviceEjection();
};
#endif //_APPLEMEDIABAYATANUB_H_