blob: 6af87e8b3ef77f95d9b479ad061eafb510b637fc [file] [log] [blame]
* 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.
// Note(pbos): This MUST be included before the X11 headers
#include "webrtc/video_engine/test/auto_test/interface/vie_autotest_window_manager_interface.h"
#include <X11/Xlib.h>
#include <X11/Xutil.h>
// Forward declaration
class ViEAutoTestWindowManager: public ViEAutoTestWindowManagerInterface
virtual ~ViEAutoTestWindowManager();
virtual void* GetWindow1();
virtual void* GetWindow2();
virtual int TerminateWindows();
virtual int CreateWindows(AutoTestRect window1Size,
AutoTestRect window2Size, void* window1Title,
void* window2Title);
virtual bool SetTopmostWindow();
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;