
.. _program_listing_file_src_python_device.h:

Program Listing for File python_device.h
========================================

|exhale_lsh| :ref:`Return to documentation for file <file_src_python_device.h>` (``src\python_device.h``)

.. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS

.. code-block:: cpp

   #ifndef PEEL_PYTHON_DEVICE_H
   #define PEEL_PYTHON_DEVICE_H
   
   #include <QString>
   
   /* This structure is used to pass data from python to/from the parent app with information about a device.  */
   class Device 
   {
   public:
       int deviceId;       
       QString name;       
       QString status;     
       QString info;       
       bool enabled;       
       QStringList takes;  
   };
   
   
   
   #endif  //  PEEL_PYTHON_DEVICE_H
