webrtc/peerconnection/samples/client/linux/main.cc
tommi@google.com b0d7a87bb0 Mock implementation for the UI of the linux version of the peerconnection client.
At this point, there's not a lot too it as it only shows what the UI will look like and basically mimics what the Windows version does presently.
Review URL: http://webrtc-codereview.appspot.com/92018

git-svn-id: http://webrtc.googlecode.com/svn/trunk@344 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-08-10 09:03:29 +00:00

32 lines
794 B
C++

/*
* 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.
*/
#include <gtk/gtk.h>
#include "peerconnection/samples/client/linux/main_wnd.h"
int main(int argc, char* argv[]) {
gtk_init(&argc, &argv);
g_type_init();
GtkMainWnd wnd;
wnd.Create();
gtk_main();
wnd.Destroy();
// TODO(tommi): Run the Gtk main loop to tear down the connection.
//while (gtk_events_pending()) {
// gtk_main_iteration();
//}
return 0;
}