12a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// Copyright (c) 2013 The Chromium Authors. All rights reserved.
22a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
32a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// found in the LICENSE file.
42a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
52a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)#ifndef REMOTING_HOST_ENTRY_POINT_H_
62a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)#define REMOTING_HOST_ENTRY_POINT_H_
72a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
82a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)#include "remoting/host/host_export.h"
92a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
102a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)namespace remoting {
112a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
122a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// "--elevate=<binary>" requests |binary| to be launched elevated (possibly
132a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// causing a UAC prompt).
142a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)extern const char kElevateSwitchName[];
152a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
162a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// "--type=<type>" specifies the kind of process to run.
172a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)extern const char kProcessTypeSwitchName[];
182a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
1990dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)extern const char kProcessTypeController[];
202a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)extern const char kProcessTypeDaemon[];
212a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)extern const char kProcessTypeDesktop[];
2290dce4d38c5ff5333bea97d859d4e484e27edf0cTorne (Richard Coles)extern const char kProcessTypeHost[];
232a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)extern const char kProcessTypeRdpDesktopSession[];
242a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
252a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// The common entry point exported from remoting_core.dll. It uses
262a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// "--type==<type>" command line parameter to determine the kind of process it
272a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)// needs to run.
282a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)HOST_EXPORT int HostMain(int argc, char** argv);
292a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
302a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)} // namespace remoting
312a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)
322a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)#endif  // REMOTING_HOST_ENTRY_POINT_H_
33