Browse Source

Allow to get access to dev name

sbg
Lorenz Meier 10 years ago
parent
commit
bf134e6979
  1. 7
      src/drivers/device/device.h

7
src/drivers/device/device.h

@ -445,6 +445,13 @@ protected: @@ -445,6 +445,13 @@ protected:
*/
virtual int unregister_class_devname(const char *class_devname, unsigned class_instance);
/**
* Get the device name.
*
* @return the file system string of the device handle
*/
const char* get_devname() { return _devname; }
bool _pub_blocked; /**< true if publishing should be blocked */
private:

Loading…
Cancel
Save