Logo Search packages:      
Sourcecode: hdhomerun-config-gui version File versions  Download package

Viewer.h

/*
 * Copyright © 2008 Silicondust USA Inc. <www.silicondust.com>.
 */

#ifndef VIEWER_H
#define VIEWER_H

00008 class TViewer {
public:
      TViewer();
      ~TViewer();

      void FindViewer();
      bool Supported();
      bool Active();
      bool Start(THDHomeRunDevice * Dev);
      void Stop();
      void StreamThreadExecute();

protected:
      int StreamSock;
      GThread *StreamThread;
      string ExeName;

#ifdef __WINDOWS__
      PROCESS_INFORMATION *Process;
#else
      pid_t Process;
#endif

      struct hdhomerun_device_t *hd;

      bool ThreadExecute;
      GStaticMutex mutex;
};

#endif

Generated by  Doxygen 1.6.0   Back to index