X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2FPath.h;h=e7940c09da2f7b90c18f8bbc653d93fb5a24e62b;hb=f7680c696d3b62cbd289ff255a6d636eab7e096c;hp=d61a47a0f394fde1111b65565dc6368d1019780f;hpb=cea3e4736f5441df84b9eb187532347362ab73f8;p=lyx.git diff --git a/src/support/Path.h b/src/support/Path.h index d61a47a0f3..e7940c09da 100644 --- a/src/support/Path.h +++ b/src/support/Path.h @@ -4,7 +4,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Lars Gullik Bjønnes + * \author Lars Gullik Bjønnes * * Full author contact details are available in file CREDITS. */ @@ -25,7 +25,8 @@ namespace support { * change to a directory as the cwd, for example : * * if (blah) { - * Path p("/tmp/blah"); + * FileName pp("/tmp/blah"); + * PathChanger p(pp); * ... * } * @@ -62,4 +63,18 @@ private: } // namespace support } // namespace lyx +#ifdef __APPLE__ + +#ifdef __cplusplus +extern "C" { +#endif +int getPrivateFrameworkPathName(char * buf, unsigned len, char const * framework); + +#ifdef __cplusplus +} +#endif + +#endif + + #endif // PATH_H