00001 // Filename: filename_assist.h 00002 // Created by: drose (13Apr09) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #ifndef FILENAME_ASSIST_H 00016 #define FILENAME_ASSIST_H 00017 00018 #include "dtoolbase.h" 00019 00020 // A helper module on OSX to call some Objective-C Cocoa functions. 00021 00022 #ifdef IS_OSX 00023 00024 string get_osx_home_directory(); 00025 string get_osx_temp_directory(); 00026 string get_osx_user_appdata_directory(); 00027 string get_osx_common_appdata_directory(); 00028 00029 #endif // IS_OSX 00030 00031 #endif