1a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis/*
2a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis *  Copyright 2012 The WebRTC Project Authors. All rights reserved.
3a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis *
4a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis *  Use of this source code is governed by a BSD-style license
5a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis *  that can be found in the LICENSE file in the root of the source
6a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis *  tree. An additional intellectual property rights grant can be found
7a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis *  in the file PATENTS.  All contributing project authors may
8a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis *  be found in the AUTHORS file in the root of the source tree.
9a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis */
10a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis
1170625e5bf3c91c57bf704d380bcc9df86575f08ajbauch#ifndef WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_FLAGDEFS_H_
1270625e5bf3c91c57bf704d380bcc9df86575f08ajbauch#define WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_FLAGDEFS_H_
13a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis#pragma once
14a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis
15a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis#include "webrtc/base/flags.h"
16a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis
170c4e06b4c6107a1b94f764e279e4fb4161e905b0Peter Boströmextern const uint16_t kDefaultServerPort;  // From defaults.[h|cc]
18a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis
19a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis// Define flags for the peerconnect_client testing tool, in a separate
20a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis// header file so that they can be shared across the different main.cc's
21a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis// for each platform.
22a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis
23a8736448970fedd82f051c6b2cc89185b755ddf3Donald E CurtisDEFINE_bool(help, false, "Prints this message");
24a8736448970fedd82f051c6b2cc89185b755ddf3Donald E CurtisDEFINE_bool(autoconnect, false, "Connect to the server without user "
25a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis                                "intervention.");
26a8736448970fedd82f051c6b2cc89185b755ddf3Donald E CurtisDEFINE_string(server, "localhost", "The server to connect to.");
27a8736448970fedd82f051c6b2cc89185b755ddf3Donald E CurtisDEFINE_int(port, kDefaultServerPort,
28a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis           "The port on which the server is listening.");
29a8736448970fedd82f051c6b2cc89185b755ddf3Donald E CurtisDEFINE_bool(autocall, false, "Call the first available other client on "
30a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis  "the server without user intervention.  Note: this flag should only be set "
31a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis  "to true on one of the two clients.");
32a8736448970fedd82f051c6b2cc89185b755ddf3Donald E Curtis
3370625e5bf3c91c57bf704d380bcc9df86575f08ajbauch#endif  // WEBRTC_EXAMPLES_PEERCONNECTION_CLIENT_FLAGDEFS_H_
34