1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- #ifndef cmMachO_h
- #define cmMachO_h
- #include "cmConfigure.h"
- #include <iosfwd>
- #include <string>
- #if !defined(CMAKE_USE_MACH_PARSER)
- #error "This file may be included only if CMAKE_USE_MACH_PARSER is enabled."
- #endif
- class cmMachOInternal;
- class cmMachO
- {
- public:
-
- cmMachO(const char* fname);
-
- ~cmMachO();
-
- std::string const& GetErrorMessage() const;
-
- operator bool() const { return this->Valid(); }
-
- bool GetInstallName(std::string& install_name);
-
- void PrintInfo(std::ostream& os) const;
- private:
- friend class cmMachOInternal;
- bool Valid() const;
- cmMachOInternal* Internal;
- };
- #endif
|