#ifndef LLDB_SOURCE_HOST_MACOSX_CFCPP_CFCBUNDLE_H
#define LLDB_SOURCE_HOST_MACOSX_CFCPP_CFCBUNDLE_H
#include "CFCReleaser.h"
class CFCBundle : public CFCReleaser<CFBundleRef> {
public:
CFCBundle(const char *path = NULL);
CFCBundle(CFURLRef url);
~CFCBundle() override;
CFURLRef CopyExecutableURL() const;
CFStringRef GetIdentifier() const;
CFTypeRef GetValueForInfoDictionaryKey(CFStringRef key) const;
bool GetPath(char *dst, size_t dst_len);
bool SetPath(const char *path);
private:
CFCBundle(const CFCBundle &) = delete;
const CFCBundle &operator=(const CFCBundle &) = delete;
};
#endif