1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef REMOTING_HOST_ENTRY_POINT_H_ 6 #define REMOTING_HOST_ENTRY_POINT_H_ 7 8 #include "remoting/host/host_export.h" 9 10 namespace remoting { 11 12 // "--elevate=<binary>" requests |binary| to be launched elevated (possibly 13 // causing a UAC prompt). 14 extern const char kElevateSwitchName[]; 15 16 // "--type=<type>" specifies the kind of process to run. 17 extern const char kProcessTypeSwitchName[]; 18 19 extern const char kProcessTypeController[]; 20 extern const char kProcessTypeDaemon[]; 21 extern const char kProcessTypeDesktop[]; 22 extern const char kProcessTypeHost[]; 23 extern const char kProcessTypeRdpDesktopSession[]; 24 25 // The common entry point exported from remoting_core.dll. It uses 26 // "--type==<type>" command line parameter to determine the kind of process it 27 // needs to run. 28 HOST_EXPORT int HostMain(int argc, char** argv); 29 30 } // namespace remoting 31 32 #endif // REMOTING_HOST_ENTRY_POINT_H_ 33