00001 //----------------------------------------------------------------------------------------
00011 // RCS-ID: $Id: utils_internet.h,v 1.7 2002/08/30 21:42:35 robertoconnor Exp $
00012 //----------------------------------------------------------------------------------------
00013
00014 //----------------------------------------------------------------------------------------
00015 // Begin single inclusion of this .h file condition
00016 //----------------------------------------------------------------------------------------
00017
00018 #ifndef _ADD_CHANNEL_WIZARD_H_
00019 #define _ADD_CHANNEL_WIZARD_H_
00020
00021 //----------------------------------------------------------------------------------------
00022 // GCC interface
00023 //----------------------------------------------------------------------------------------
00024
00025 #if defined(__GNUG__) && ! defined(__APPLE__)
00026 #pragma interface "utils_internet.h"
00027 #endif
00028
00029 //----------------------------------------------------------------------------------------
00030 // Shared defines
00031 //----------------------------------------------------------------------------------------
00032
00033 #include "plucker_defines.h"
00034
00035 //----------------------------------------------------------------------------------------
00036 // Begin feature removal condition
00037 //----------------------------------------------------------------------------------------
00038
00039 // This util is only used in the showcase preview pane, currently.
00040 #if ( setupUSE_SHOWCASE_PREVIEW_PANE )
00041
00042 //----------------------------------------------------------------------------------------
00043 // Static-only class
00044 //----------------------------------------------------------------------------------------
00045
00047 class utils_internet
00048 {
00049
00050 public:
00051
00053
00060 static bool download_url_to_local_file( wxString remote_url,
00061 wxString local_filename,
00062 wxString proxy = wxEmptyString
00063 );
00064
00066
00071 static wxString to_absolute_urls( wxString content_string,
00072 wxString tag_parameter,
00073 wxString original_url
00074 );
00075
00076 };
00077
00078 //----------------------------------------------------------------------------------------
00079 // End feature removal condition
00080 //----------------------------------------------------------------------------------------
00081
00082 #endif // setupUSE_SHOWCASE_PREVIEW_PANE
00083
00084 //----------------------------------------------------------------------------------------
00085 // End single inclusion of this .h file condition
00086 //----------------------------------------------------------------------------------------
00087
00088 #endif //_UTILS_INTERNET_H_
00089