LCOV - code coverage report
Current view: top level - media/webrtc/trunk/webrtc/modules/desktop_capture - app_capturer.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             : *  Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
       3             : *
       4             : *  Use of this source code is governed by a BSD-style license
       5             : *  that can be found in the LICENSE file in the root of the source
       6             : *  tree. An additional intellectual property rights grant can be found
       7             : *  in the file PATENTS.  All contributing project authors may
       8             : *  be found in the AUTHORS file in the root of the source tree.
       9             : */
      10             : 
      11             : #ifndef WEBRTC_MODULES_DESKTOP_CAPTURE_APP_CAPTURER_H_
      12             : #define WEBRTC_MODULES_DESKTOP_CAPTURE_APP_CAPTURER_H_
      13             : 
      14             : #include <vector>
      15             : #include <string>
      16             : 
      17             : #include "webrtc/modules/desktop_capture/desktop_capture_types.h"
      18             : #include "webrtc/modules/desktop_capture/desktop_capturer.h"
      19             : #include "webrtc/typedefs.h"
      20             : 
      21             : namespace webrtc {
      22             : 
      23             : class DesktopCaptureOptions;
      24             : 
      25           0 : class AppCapturer : public DesktopCapturer {
      26             : public:
      27             :     typedef webrtc::ProcessId ProcessId;
      28             :     struct App {
      29             :         ProcessId id;
      30             :         // Application Name in UTF-8 encoding.
      31             :         std::string title;
      32             :     };
      33             :     typedef std::vector<App> AppList;
      34             : 
      35             :     static AppCapturer* Create(const DesktopCaptureOptions& options);
      36             :     static AppCapturer* Create();
      37             : 
      38           0 :     virtual ~AppCapturer() {}
      39             : 
      40             :     //AppCapturer Interfaces
      41             :     virtual bool GetAppList(AppList* apps) = 0;
      42             :     virtual bool SelectApp(ProcessId id) = 0;
      43             :     virtual bool BringAppToFront() = 0;
      44             : };
      45             : 
      46             : }  // namespace webrtc
      47             : 
      48             : #endif  // WEBRTC_MODULES_DESKTOP_CAPTURE_APP_CAPTURER_H_
      49             : 

Generated by: LCOV version 1.13