Home | History | Annotate | Download | only in source
      1 //===-- RNBServices.h -------------------------------------------*- C++ -*-===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 //
     10 //  Created by Christopher Friesen on 3/21/08.
     11 //
     12 //===----------------------------------------------------------------------===//
     13 
     14 #ifndef __RNBServices_h__
     15 #define __RNBServices_h__
     16 
     17 #include <string>
     18 #include "RNBDefs.h"
     19 
     20 #define DTSERVICES_APP_FRONTMOST_KEY    CFSTR("isFrontApp")
     21 #define DTSERVICES_APP_PATH_KEY         CFSTR("executablePath")
     22 #define DTSERVICES_APP_ICON_PATH_KEY    CFSTR("iconPath")
     23 #define DTSERVICES_APP_DISPLAY_NAME_KEY CFSTR("displayName")
     24 #define DTSERVICES_APP_PID_KEY          CFSTR("pid")
     25 
     26 int ListApplications (std::string &plist, bool opt_runningApps, bool opt_debuggable);
     27 bool IsSBProcess (nub_process_t pid);
     28 
     29 #endif  // __RNBServices_h__
     30