
.. _program_listing_file_D__BUILD_git_control_controller-app_src_python_device.h:

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

|exhale_lsh| :ref:`Return to documentation for file <file_D__BUILD_git_control_controller-app_src_python_device.h>` (``D:\BUILD\git\control\controller-app\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;     
       int         pluginId;     
       QString     name;         
       QString     status;       
       QString     info;         
       bool        enabled;      
       QStringList takes;        
       int         orderIndex;   
   };
   
   
   
   #endif  //  PEEL_PYTHON_DEVICE_H
