1b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org/*
2b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org *
4b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org *  Use of this source code is governed by a BSD-style license
5b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org *  that can be found in the LICENSE file in the root of the source
6b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org *  tree. An additional intellectual property rights grant can be found
7b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org *  in the file PATENTS.  All contributing project authors may
8b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org *  be found in the AUTHORS file in the root of the source tree.
9b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org */
10b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
11b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org/**
12b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * This file and its corresponding .mm file implement a main function on Mac.
13b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * It's useful if you need to access a webcam in your Mac application. The code
14b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * forks a worker thread which runs the below ImplementThisToRunYourTest
15b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * function, and uses the main thread to pump messages. That way we can run our
16b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * code in a regular sequential fashion and still pump events, which are
17b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org * necessary to access the webcam for instance.
18b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org */
19b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org
20b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org// Implement this method to do whatever you want to do in the worker thread.
21b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.org// The argc and argv variables are the unmodified command line from main.
22b015cbede88899f67a53fbbe581b02ce8e32794andrew@webrtc.orgint ImplementThisToRunYourTest(int argc, char** argv);
23