summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/RNBServices.h
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/tools/debugserver/source/RNBServices.h')
-rw-r--r--lldb/tools/debugserver/source/RNBServices.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/lldb/tools/debugserver/source/RNBServices.h b/lldb/tools/debugserver/source/RNBServices.h
new file mode 100644
index 00000000000..0164e33b0bf
--- /dev/null
+++ b/lldb/tools/debugserver/source/RNBServices.h
@@ -0,0 +1,29 @@
+//===-- 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);
+bool IsSBProcess (nub_process_t pid);
+
+#endif // __RNBServices_h__
OpenPOWER on IntegriCloud