Allow to get access to dev name

This commit is contained in:
Lorenz Meier 2014-10-10 12:11:45 +02:00
parent 2effc9a23d
commit bf134e6979
1 changed files with 7 additions and 0 deletions

View File

@ -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: