/* * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef WEBRTC_VIDEO_ENGINE_MAIN_TEST_AUTOTEST_INTERFACE_VIE_AUTOTEST_LINUX_H_ #define WEBRTC_VIDEO_ENGINE_MAIN_TEST_AUTOTEST_INTERFACE_VIE_AUTOTEST_LINUX_H_ #include "vie_autotest_window_manager_interface.h" #include #include // Forward declaration class ViEAutoTestWindowManager: public ViEAutoTestWindowManagerInterface { public: ViEAutoTestWindowManager(); ~ViEAutoTestWindowManager(); virtual void* GetWindow1(); virtual void* GetWindow2(); virtual int TerminateWindows(); virtual int CreateWindows(AutoTestRect window1Size, AutoTestRect window2Size, void* window1Title, void* window2Title); virtual bool SetTopmostWindow(); private: int ViECreateWindow(Window *outWindow, Display **outDisplay, int xpos, int ypos, int width, int height, char* title); int ViEDestroyWindow(Window *window, Display *display); Window _hwnd1; Window _hwnd2; Display* _hdsp1; Display* _hdsp2; }; #endif // WEBRTC_VIDEO_ENGINE_MAIN_TEST_AUTOTEST_INTERFACE_VIE_AUTOTEST_LINUX_H_