/** * Copyright (C) ARM Limited 2013-2014. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */#ifndef UEVENT_H#define UEVENT_HstructUEventResult{constchar*mAction;constchar*mDevPath;constchar*mSubsystem;charmBuf[1<<13];};classUEvent{public:UEvent();~UEvent();boolinit();boolread(UEventResult*constresult);intgetFd()const{returnmFd;}private:intmFd;// Intentionally undefinedUEvent(constUEvent&);UEvent&operator=(constUEvent&);};#endif // UEVENT_H