Home | History | Annotate | Download | only in interface
      1 /*
      2  *  Copyright (c) 2011 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 /*
     12  *  vie_autotest_window_manager_interface.h
     13  */
     14 
     15 #include "webrtc/video_engine/test/auto_test/interface/vie_autotest_defines.h"
     16 
     17 #ifndef WEBRTC_VIDEO_ENGINE_MAIN_TEST_AUTOTEST_INTERFACE_VIE_AUTOTEST_WINDOW_MANAGER_INTERFACE_H_
     18 #define WEBRTC_VIDEO_ENGINE_MAIN_TEST_AUTOTEST_INTERFACE_VIE_AUTOTEST_WINDOW_MANAGER_INTERFACE_H_
     19 
     20 class ViEAutoTestWindowManagerInterface
     21 {
     22 public:
     23     virtual int CreateWindows(AutoTestRect window1Size,
     24                               AutoTestRect window2Size, void* window1Title,
     25                               void* window2Title) = 0;
     26     virtual int TerminateWindows() = 0;
     27     virtual void* GetWindow1() = 0;
     28     virtual void* GetWindow2() = 0;
     29     virtual bool SetTopmostWindow() = 0;
     30     virtual ~ViEAutoTestWindowManagerInterface() {}
     31 };
     32 
     33 #endif  // WEBRTC_VIDEO_ENGINE_MAIN_TEST_AUTOTEST_INTERFACE_VIE_AUTOTEST_WINDOW_MANAGER_INTERFACE_H_
     34