These changes were written by Greg Clayton, Jim Ingham, Jason Molenda. It builds cleanly against TOT llvm with xcodebuild. I updated the cmake files by visual inspection but did not try a build. I haven't built these sources on any non-Mac platforms - I don't think this patch adds any code that requires darwin, but please let me know if I missed something. In debugserver, MachProcess.cpp and MachTask.cpp were renamed to MachProcess.mm and MachTask.mm as they picked up some new Objective-C code needed to launch processes when running on iOS. llvm-svn: 205113
29 lines
982 B
C++
29 lines
982 B
C++
//===-- RNBServices.h -------------------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// Created by Christopher Friesen on 3/21/08.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef __RNBServices_h__
|
|
#define __RNBServices_h__
|
|
|
|
#include <string>
|
|
#include "RNBDefs.h"
|
|
|
|
#define DTSERVICES_APP_FRONTMOST_KEY CFSTR("isFrontApp")
|
|
#define DTSERVICES_APP_PATH_KEY CFSTR("executablePath")
|
|
#define DTSERVICES_APP_ICON_PATH_KEY CFSTR("iconPath")
|
|
#define DTSERVICES_APP_DISPLAY_NAME_KEY CFSTR("displayName")
|
|
#define DTSERVICES_APP_PID_KEY CFSTR("pid")
|
|
|
|
int ListApplications (std::string &plist, bool opt_runningApps, bool opt_debuggable);
|
|
|
|
#endif // __RNBServices_h__
|