00001 //----------------------------------------------------------------------------------------
00011 // RCS-ID: $Id: palm_installer_msw.h,v 1.6 2003/02/06 21:47:30 robertoconnor Exp $
00012 //----------------------------------------------------------------------------------------
00013
00014 //----------------------------------------------------------------------------------------
00015 // Begin single inclusion of this .h file condition
00016 //----------------------------------------------------------------------------------------
00017
00018 #ifndef _PALM_INSTALLER_MSW_H_
00019 #define _PALM_INSTALLER_MSW_H_
00020
00021 //----------------------------------------------------------------------------------------
00022 // GCC interface
00023 //----------------------------------------------------------------------------------------
00024
00025 #if defined(__GNUG__) && ! defined(__APPLE__)
00026 #pragma interface "palm_installer_msw.h"
00027 #endif
00028
00029 //----------------------------------------------------------------------------------------
00030 // Shared defines
00031 //----------------------------------------------------------------------------------------
00032
00033 #include "plucker_defines.h"
00034
00035 //----------------------------------------------------------------------------------------
00036 // Begin OS removal condition
00037 //----------------------------------------------------------------------------------------
00038
00039 #ifdef __WXMSW__
00040
00041 // ---------------------------------------------------------------------------------------
00042 // Headers
00043 // ---------------------------------------------------------------------------------------
00044
00045 #include "palm_installer_base.h"
00046 #include "wx/config.h" // wxRegConfig
00047
00048 //----------------------------------------------------------------------------------------
00049 // Class definition: palm_installer for GTK
00050 //----------------------------------------------------------------------------------------
00051
00053 class palm_installer : public palm_installer_base
00054 {
00055
00056 // wx Macro to declare a dynamic class (one that can have new runtime instances)
00057 DECLARE_DYNAMIC_CLASS(palm_installer);
00058
00059 public:
00060
00062 palm_installer();
00063
00065 ~palm_installer();
00066
00067 virtual void load_user_data();
00068
00069 virtual bool install_files_by_handheld_dest( handheld_dest_type& handheld_dest,
00070 wxArrayString& install_fullnames );
00071
00072 virtual bool install_file_by_handheld_dest( handheld_dest_type& handheld_dest,
00073 const wxString& install_fullname );
00074
00075 private:
00076
00077 wxConfig* m_palm_user_config; // A wxRegConfig under WXMSW
00078
00079 };
00080
00081 //----------------------------------------------------------------------------------------
00082 // End OS removal condition
00083 //----------------------------------------------------------------------------------------
00084
00085 #endif // __WXMSW__
00086
00087 //----------------------------------------------------------------------------------------
00088 // End single inclusion of this .h file condition
00089 //----------------------------------------------------------------------------------------
00090
00091 #endif // PALM_INSTALLER_MSW_H