filedlgs.h

Go to the documentation of this file.
00001 // $Id: filedlgs.h 1282 2006-06-09 09:46:49Z alex $
00002 /* @@tag:xara-cn@@ DO NOT MODIFY THIS LINE
00003 ================================XARAHEADERSTART===========================
00004  
00005                Xara LX, a vector drawing and manipulation program.
00006                     Copyright (C) 1993-2006 Xara Group Ltd.
00007        Copyright on certain contributions may be held in joint with their
00008               respective authors. See AUTHORS file for details.
00009 
00010 LICENSE TO USE AND MODIFY SOFTWARE
00011 ----------------------------------
00012 
00013 This file is part of Xara LX.
00014 
00015 Xara LX is free software; you can redistribute it and/or modify it
00016 under the terms of the GNU General Public License version 2 as published
00017 by the Free Software Foundation.
00018 
00019 Xara LX and its component source files are distributed in the hope
00020 that it will be useful, but WITHOUT ANY WARRANTY; without even the
00021 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00022 See the GNU General Public License for more details.
00023 
00024 You should have received a copy of the GNU General Public License along
00025 with Xara LX (see the file GPL in the root directory of the
00026 distribution); if not, write to the Free Software Foundation, Inc., 51
00027 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
00028 
00029 
00030 ADDITIONAL RIGHTS
00031 -----------------
00032 
00033 Conditional upon your continuing compliance with the GNU General Public
00034 License described above, Xara Group Ltd grants to you certain additional
00035 rights. 
00036 
00037 The additional rights are to use, modify, and distribute the software
00038 together with the wxWidgets library, the wxXtra library, and the "CDraw"
00039 library and any other such library that any version of Xara LX relased
00040 by Xara Group Ltd requires in order to compile and execute, including
00041 the static linking of that library to XaraLX. In the case of the
00042 "CDraw" library, you may satisfy obligation under the GNU General Public
00043 License to provide source code by providing a binary copy of the library
00044 concerned and a copy of the license accompanying it.
00045 
00046 Nothing in this section restricts any of the rights you have under
00047 the GNU General Public License.
00048 
00049 
00050 SCOPE OF LICENSE
00051 ----------------
00052 
00053 This license applies to this program (XaraLX) and its constituent source
00054 files only, and does not necessarily apply to other Xara products which may
00055 in part share the same code base, and are subject to their own licensing
00056 terms.
00057 
00058 This license does not apply to files in the wxXtra directory, which
00059 are built into a separate library, and are subject to the wxWindows
00060 license contained within that directory in the file "WXXTRA-LICENSE".
00061 
00062 This license does not apply to the binary libraries (if any) within
00063 the "libs" directory, which are subject to a separate license contained
00064 within that directory in the file "LIBS-LICENSE".
00065 
00066 
00067 ARRANGEMENTS FOR CONTRIBUTION OF MODIFICATIONS
00068 ----------------------------------------------
00069 
00070 Subject to the terms of the GNU Public License (see above), you are
00071 free to do whatever you like with your modifications. However, you may
00072 (at your option) wish contribute them to Xara's source tree. You can
00073 find details of how to do this at:
00074   http://www.xaraxtreme.org/developers/
00075 
00076 Prior to contributing your modifications, you will need to complete our
00077 contributor agreement. This can be found at:
00078   http://www.xaraxtreme.org/developers/contribute/
00079 
00080 Please note that Xara will not accept modifications which modify any of
00081 the text between the start and end of this header (marked
00082 XARAHEADERSTART and XARAHEADEREND).
00083 
00084 
00085 MARKS
00086 -----
00087 
00088 Xara, Xara LX, Xara X, Xara X/Xtreme, Xara Xtreme, the Xtreme and Xara
00089 designs are registered or unregistered trademarks, design-marks, and/or
00090 service marks of Xara Group Ltd. All rights in these marks are reserved.
00091 
00092 
00093       Xara Group Ltd, Gaddesden Place, Hemel Hempstead, HP2 6EX, UK.
00094                         http://www.xara.com/
00095 
00096 =================================XARAHEADEREND============================
00097  */
00098 // The File Dialog Classes used by Open, Save, SaveAs, Import and Export.
00099 
00100 
00101 #ifndef INC_FILEDLGS
00102 #define INC_FILEDLGS
00103 
00104 // make sure this is defined if you want the "new XP-style" Open/Save dialogs:
00105 PORTNOTE("other", "XPDialog doesn't make sense" )
00106 #if !defined(EXCLUDE_FROM_XARALX)
00107 #define XPDialog
00108 #endif
00109 
00110 //#include "filters.h"  - in camtypes.h [AUTOMATICALLY REMOVED]
00111 //#include "monotime.h" - in camtypes.h [AUTOMATICALLY REMOVED]
00112 
00113 class PathName;
00114 class String_256;
00115 class RenderRegion;
00116 class BitmapExportOptions;
00117 
00118 // Useful global functions
00119 // These start up the render regions
00120 RenderRegion* CreateOSRenderRegion(DocRect* pRequiredSize, ReDrawInfoType* ExtraInfo,
00121                                                 BOOL UseSelViewColContext = FALSE);
00122 BOOL DestroyOSRenderRegion(RenderRegion* pRender);
00123 
00124 PORTNOTE("other", "Removed MFC type Hooks" )
00125 #if !defined(EXCLUDE_FROM_XARALX)
00126 #ifdef XPDialog
00127 // needed to show the "XP-style" place bar on the left hand side of the File dialogs:
00128 struct OPENFILENAMEEX : public OPENFILENAME
00129 {
00130     void *       pvReserved;
00131     DWORD        dwReserved;
00132     DWORD        FlagsEx;
00133 };
00134 #endif
00135 #endif
00136 
00137 /********************************************************************************************
00138 >   class BaseFileDialog : public CFileDialog
00139 
00140     Author:     Rik_Heywood (Xara Group Ltd) <camelotdev@xara.com>
00141     Created:    25/1/95
00142     Purpose:    To provide a custom File Save / Open Dialog that goes to the correct directory etc
00143 ********************************************************************************************/
00144 
00145 class BaseFileDialog : public wxFileDialog
00146 {
00147     DECLARE_CLASS(BaseFileDialog)
00148 
00149 public:
00150     // Preferences to store the last path for the dialogs
00151     static String_256 DefaultSaveFilePath;
00152     static String_256 DefaultOpenFilePath;
00153     static INT32          SelectedFilter;
00154     // Preferences for flag states
00155     static BOOL       MakeBakFiles;
00156     static BOOL       ShowPreviewBitmap;
00157     static BOOL       ThumbNailMode;
00158 
00159     // Functions to declare the file paths etc
00160     static BOOL Init();
00161 
00162     // Creation & destruction.
00163     BaseFileDialog(BOOL IsFileOpen, DWORD dwFlags, LPCTSTR lpszFilter = NULL, wxWindow* pParentWnd = NULL);
00164     ~BaseFileDialog();
00165 
00166     // Initialisation functions.
00167     virtual BOOL PrepareDialog();
00168 
00169     // Public functions to access the structures such as pathnames etc in a nice kernel fashion
00170     virtual INT32 GetSelectedFilterIndex(); 
00171     virtual INT32 SetSelectedFilterIndex(INT32 NewIndex);
00172     
00173     virtual BOOL SetTitle(INT32 TitleId); 
00174 
00175     virtual BOOL SetInitialDirectory(const String_256& pDir);
00176 
00177     virtual BOOL SetDefaultFileName(String_256& Name);
00178     
00179     virtual BOOL GetChosenFileName(PathName * pName);
00180 
00181     virtual Filter * GetSelectedExportFilter(INT32 TheSelectedFilter); 
00182     virtual void SetSelectedExportFilter(UINT32 uiFilterID);
00183 
00184     virtual INT32 OpenAndGetFileName();
00185 
00186     // Function to build the filter list for both exporters and importers
00187     static TCHAR *BuildFilterString(BOOL GetImport, UINT32 SelectedFilterID, INT32 *SelectedFilter,
00188                                    CCRuntimeClass *pTypeOfFilter = CC_RUNTIME_CLASS(Filter),
00189                                    UINT32 Bpp = 0, UINT32 BitmapCount = 1);
00190 
00191     // Function to add the extension to a filename e.g. .art or .xar
00192     virtual void AppendExtension(wxString* pFilename);
00193 
00194     // this is a version of OnFileNameOK that helps work around the win 95 bug
00195     virtual BOOL IsValidFilename();
00196 
00197 #ifdef XPDialog
00198 // needed to show the "XP-style" place bar on the left hand side of the File dialogs:
00199     virtual int /*TYPENOTE: Correct*/ ShowModal();
00200 #endif
00201 
00202 //  WEBSTER-ranbirr-27/03/97
00203     // Added for Webster - RanbirR. Removes the extension from a file name.
00204 #ifdef WEBSTER
00205     virtual BOOL RemoveFileExtension(wxString* pFilename);
00206 #endif //WEBSTER
00207 
00208 
00209     // these need to be public so that the CMainFrame class
00210     // can access them when the palette changes...
00211     // This points at the current running instance of a file dialog.
00212     static BaseFileDialog* m_pCurrentFileDialog;
00213 PORTNOTE("other", "Removed OnPaletteChanged - windowsy" )
00214 #if !defined(EXCLUDE_FROM_XARALX)
00215     afx_msg void OnPaletteChanged(CWnd* pFocusWnd);
00216 #endif
00217 
00218 protected:
00219     enum
00220     {
00221         TITLE_SIZE = 128
00222     };
00223     // The title of the dialog
00224     TCHAR Title[TITLE_SIZE];
00225 
00226 PORTNOTE("other", "Removed MFC type Hooks" )
00227 #if !defined(EXCLUDE_FROM_XARALX)
00228     // This is called by the hook proc.
00229     virtual UINT32 OnHookMsg(wxWindow* hwnd, UINT32 nMsg, WPARAM wParam, LPARAM lParam);
00230 
00231     virtual UINT32 OnFileTypeChange();
00232 
00233     // This is called by explorer style dialog boxes so that they can be set up ok
00234     virtual BOOL ExplorerInitDialog(wxWindow* hDlg);
00235 
00236     BOOL ExplorerInited;
00237 
00238     // This is used to inform explorer style dialogs of actions
00239     virtual BOOL ExplorerFileHookNotify(wxWindow* hDlg, LPOFNOTIFY pofn);
00240     
00241     // This points at the current running instance of a file dialog.
00242 // made public - see above
00243 //  static BaseFileDialog* m_pCurrentFileDialog;
00244 
00245     // This calls your overridden virtual hook proc.
00246     static UINT32 CALLBACK HookProc(wxWindow* hwnd, UINT32 nMsg, WPARAM wParam, LPARAM lParam);
00247 
00248     // There is no memory stuff (Declare_Memdump etc) as this is an MFC derived class
00249     DECLARE_DYNAMIC(BaseFileDialog);
00250 
00251     // Preview Bitmap displaying code
00252     // Handle the redraw of the preview bitmap on the file dialog box.
00253     afx_msg LRESULT OnRedrawMessage(WPARAM, LPARAM);
00254     // Handle clicking on the show preview bitmap button
00255     afx_msg void OnShowPreviewBitmap();
00256     // Handle clicking on the help button
00257     afx_msg void OnHelp();
00258     // Make sure the controls in the template part of the dialog are positioned correctly
00259     afx_msg void OnSize(UINT32 nType, INT32 cx, INT32 cy);
00260     // Palette functions
00261 // made public - see above
00262 //  afx_msg void OnPaletteChanged(CWnd* pFocusWnd);
00263 
00264     // WEBSTER - markn 24/1/97
00265     // Handle clicking on the options
00266     afx_msg void OnOptions();
00267     virtual BOOL HandleOptions();
00268 
00269     virtual void OnFileNameChange( );
00270 
00271     // Code to load the preview bitmap from a file.
00272     virtual BOOL GetPreviewBitmapFromFile   ( PathName * pPath );
00273 
00274     // Helper functions for importing different flavours of previews.
00275     virtual BOOL OpenFileForPreview ( CCDiskFile    &File,
00276                                       PathName      *pPath );
00277     virtual BOOL ReadRIFFPreview    ( CCDiskFile    &File,
00278                                       PathName      *pPath );
00279     virtual BOOL ReadNativePreview  ( CCDiskFile    &File,
00280                                       PathName      *pPath );
00281     virtual BOOL ReadBitmapPreview  ( CCDiskFile    &File,
00282                                       PathName      *pPath,
00283                                       UINT32            FilterID );
00284     virtual void OnFolderChange();
00285 
00286 // needed to show the "XP-style" place bar on the left hand side of the File dialogs:
00287 #ifdef XPDialog
00288     virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
00289     OPENFILENAMEEX m_ofnEx;
00290 #endif
00291 #endif
00292 
00293     // Member variables.
00294     KernelBitmap * pBitmapToUse;
00295 
00296     BOOL WantPreviewBitmap;
00297 
00298 private:
00299     // Added by Craig Hamilton 20/9/00.
00300     wxString        m_previousPathName;
00301     // End added.
00302 };
00303 
00304 
00305 
00306 /********************************************************************************************
00307 >   class OpenFileDialog : public BaseFileDialog
00308 
00309     Author:     Rik_Heywood (Xara Group Ltd) <camelotdev@xara.com>
00310     Created:    26/1/95
00311     Purpose:    Brings up an Open file dialog that goes to the correct directory etc.
00312     SeeAlso:    BaseFileDialog
00313 ********************************************************************************************/
00314 
00315 class OpenFileDialog : public BaseFileDialog
00316 {
00317     DECLARE_CLASS(OpenFileDialog)
00318 
00319 public:
00320     // Data members.
00321     INT32 NativeFilterPos;
00322 
00323     // Creation & destruction.
00324     OpenFileDialog(LPCTSTR FilterString);
00325     BOOL PrepareDialog();
00326 
00327     // Function to change the default path
00328     void SetDefaultPath(const String_256& NewPath);
00329 
00330     // Function to build the filter list
00331     static TCHAR* BuildFilterString(INT32* NativeFilterPos);
00332 
00333 protected:
00334     // This is called by explorer style dialog boxes so that they can be set up ok
00335     virtual BOOL ExplorerInitDialog(wxWindow* hDlg);
00336 
00337 private:
00338     // Initialisation functions.
00339     void OnInitDialog( wxInitDialogEvent& event );
00340 PORTNOTE("other", "Removed MFC junk" )
00341 #if !defined(EXCLUDE_FROM_XARALX)
00342     void DoDataExchange(CDataExchange* pDX);
00343 
00344     DECLARE_DYNAMIC(OpenFileDialog);
00345     DECLARE_MESSAGE_MAP()
00346 #endif
00347 
00348     //void OnLBSelChangedNotify(UINT32 IDBox, UINT32 CurSel, UINT32 Code);
00349 };
00350 
00351 
00352 // Identifier of the compression gadget we add to the save dialog on debug versions.
00353 #define IDC_COMPRESS_BUTTON     (131)
00354 
00355 /********************************************************************************************
00356 >   class SaveFileDialog : public BaseFileDialog
00357 
00358     Author:     Rik_Heywood (Xara Group Ltd) <camelotdev@xara.com>
00359     Created:    26/1/95
00360     Purpose:    This is the Save Dialog that is brought up in responce to the saveas option.
00361                 It will select the last used directory etc and is generally very fabby.
00362     SeeAlso:    BaseFileDialog
00363 ********************************************************************************************/
00364 
00365 class SaveFileDialog : public BaseFileDialog
00366 {
00367     DECLARE_CLASS(SaveFileDialog)
00368 
00369 public:
00370     SaveFileDialog(LPCTSTR FilterString, const String_256&, const String_256&);
00371     SaveFileDialog(LPCTSTR FilterString, const String_256& DefPath, const String_256& DefName, 
00372         const String_256& DocumentName);
00373 
00374     // Initialisation function.
00375     virtual BOOL PrepareDialog();
00376 
00377     // Function to change the default path
00378     void SetDefaultPath(const String_256& NewPath);
00379 
00380     // Function to add the .art extension to a filename
00381     virtual void AppendExtension(wxString* pFilename);
00382 
00383 protected:
00384     // Our special variable which allows us to see if we have faked the closure
00385     // of the dialog box as we are trying to get the web export filename and we
00386     // cannot have two dialog boxes up at the same time
00387     //BOOL FakingClosure;
00388 
00389     // Override the baseclass version
00390     //virtual INT32 GetWebFileName();
00391 
00392     // This is called by explorer style dialog boxes so that they can be set up ok
00393     virtual BOOL ExplorerInitDialog(wxWindow* hDlg);
00394     
00395 PORTNOTE("other", "Removed MFC type Hooks" )
00396 #if !defined(EXCLUDE_FROM_XARALX)
00397     // WEBSTER - markn 24/1/97
00398     // Handle clicking on the options
00399     virtual BOOL HandleOptions();
00400 #endif
00401 
00402 protected:
00403     // Default path and file name
00404     String_256 DefaultName;
00405     String_256 DefaultPath;
00406     String_256 DocName;
00407 
00408     wxButton *CompressButton;
00409     wxButton *Options;
00410     wxStaticText *CurrentOptions;
00411 
00412     // Implementation.
00413     BOOL OnInitDialog();
00414     BOOL OnFileNameOK();
00415 PORTNOTE("other", "Removed MFC junk" )
00416 #if !defined(EXCLUDE_FROM_XARALX)
00417     void DoDataExchange(CDataExchange* pDX);
00418 
00419 
00420     DECLARE_DYNAMIC(SaveFileDialog);
00421     DECLARE_MESSAGE_MAP()
00422 #endif
00423 };
00424 
00425 /********************************************************************************************
00426 >   class SaveTemplateDialog : public SaveFileDialog
00427 
00428     Author:     Graham_Walmsley (Xara Group Ltd) <camelotdev@xara.com>
00429     Created:    24/10/97
00430     Purpose:    The Save Template dialog. It saves templates, basically.
00431 
00432     SeeAlso:    BaseFileDialog, SaveFileDialog
00433 ********************************************************************************************/
00434 
00435 class SaveTemplateDialog : public SaveFileDialog
00436 {
00437     DECLARE_CLASS(SaveTemplateDialog)
00438 
00439 public:
00440     SaveTemplateDialog(PathName& pathToPutInDialog);
00441     static BOOL m_fUseAsDefault;
00442     static BOOL m_fDefaultTemplatesFolder;
00443     void OnUseAsDefault();
00444     void OnDefaultTemplatesFolder();
00445 
00446 PORTNOTE("other", "Removed MFC junk" )
00447 #if !defined(EXCLUDE_FROM_XARALX)
00448     void OnFileNameChange();
00449 #endif
00450 
00451 protected:
00452     String_256 m_strTitleOfDialog;
00453 
00454 PORTNOTE("other", "Removed MFC junk" )
00455 #if !defined(EXCLUDE_FROM_XARALX)
00456     DECLARE_DYNAMIC(SaveTemplateDialog);
00457     DECLARE_MESSAGE_MAP()
00458 #endif
00459 
00460 private:
00461 PORTNOTE("other", "Removed MFC junk" )
00462 #if !defined(EXCLUDE_FROM_XARALX)
00463     // Implementation.
00464     void DoDataExchange(CDataExchange* pDX);
00465 #endif
00466 
00467     BOOL ExplorerInitDialog(wxWindow* hDlg);
00468 
00469     BOOL PrepareDialog();
00470 };
00471 
00472 
00473 // the longest name we can display as a path, before going down to the basename
00474 #define MAX_ALLOWED_NAME_LENGTH 60
00475 #define TotalControls 60
00476 
00477 
00478 // Identifier of the "import" layers gadget we add to the import dialog.
00479 #define IDC_LAYERS_BUTTON   (130)
00480 
00481 
00482 
00483 /********************************************************************************************
00484 >   class ImportFileDialog : public CFileDialog
00485 
00486     Author:     Tim_Browse (Xara Group Ltd) <camelotdev@xara.com>
00487     Created:    22/02/94
00488     Purpose:    To provide a custom open file dialog, which enables us to resize the drop
00489                 down list of filters.
00490     SeeAlso:    OpMenuImport
00491 ********************************************************************************************/
00492 
00493 class ImportFileDialog : public BaseFileDialog
00494 {
00495     DECLARE_CLASS(ImportFileDialog)
00496 
00497 public:
00498     ImportFileDialog(LPCTSTR lpszFilter = NULL);
00499 
00500 protected:
00501     // This is called by explorer style dialog boxes so that they can be set up ok
00502     virtual BOOL ExplorerInitDialog(wxWindow* hDlg);
00503 
00504 private:
00505     wxButton *LayersButton;
00506 
00507     BOOL OnInitDialog( wxInitDialogEvent& event );
00508 PORTNOTE("other", "Removed MFC junk" )
00509 #if !defined(EXCLUDE_FROM_XARALX)
00510     void DoDataExchange(CDataExchange* pDX);
00511     afx_msg void OnLButtonDblClk(UINT32 nFlags, CPoint point);
00512     DECLARE_MESSAGE_MAP()
00513     DECLARE_DYNAMIC(ImportFileDialog);
00514 #endif
00515 };
00516 
00517 
00518 
00519 /********************************************************************************************
00520 >   class ExportFileDialog : public CFileDialog
00521 
00522     Author:     Tim_Browse (Xara Group Ltd) <camelotdev@xara.com>
00523     Created:    22/03/94
00524     Purpose:    To provide a custom open file dialog, which enables us to resize the drop
00525                 down list of filters.
00526     SeeAlso:    OpMenuExport
00527 ********************************************************************************************/
00528 
00529 class ExportFileDialog : public BaseFileDialog
00530 {
00531     DECLARE_CLASS(ExportFileDialog)
00532 
00533 public:
00534     ExportFileDialog(LPCTSTR lpszFilter = NULL);
00535 
00536     // Function to add the extension to a filename
00537     virtual void AppendExtension(wxString* pFilename);
00538     virtual void AddExtension(wxString* pFilename, BOOL Replace = FALSE, BOOL AskAboutReplace = FALSE,
00539                               UINT32 Selection = 0 );
00540 
00541 #if FALSE
00542     // for the future "Options" button handling
00543     BitmapExportOptions* GetExportOptions() { return m_pOptions; };
00544 #endif
00545 
00546     void ExportABitmap(BOOL bExportABitmap, KernelBitmap* pBitmap = 0) 
00547         { m_bExportABitmap = bExportABitmap; m_pBitmapToExport = pBitmap; }
00548 
00549 protected:
00550     // This is called by explorer style dialog boxes so that they can be set up ok
00551     virtual BOOL ExplorerInitDialog(wxWindow* hDlg);
00552     virtual BOOL HandleOptions();               // Handle clicking on the options button.
00553 
00554 private:
00555     BOOL OnInitDialog( wxInitDialogEvent& event );
00556 PORTNOTE("other", "Removed MFC junk" )
00557 #if !defined(EXCLUDE_FROM_XARALX)
00558     void DoDataExchange(CDataExchange* pDX);
00559 #endif
00560     BOOL OnFileNameOK();
00561     
00562     virtual void OnTypeChange();
00563     virtual void OnLBSelChangedNotify(UINT32 nIDBox, UINT32 iCurSel, UINT32 nCode);
00564 
00565     virtual BOOL IsValidFilename();
00566     BOOL SetStateOnFilterChange();
00567 
00568 PORTNOTE("other", "Removed MFC junk" )
00569 #if !defined(EXCLUDE_FROM_XARALX)
00570     afx_msg void OnAutoPreview();
00571     //  afx_msg void OnFileTypeChange(NMHDR * pNotifyStruct, LRESULT * result );
00572     DECLARE_MESSAGE_MAP()
00573 
00574     DECLARE_DYNAMIC(ExportFileDialog);
00575 #endif
00576 
00577 protected:
00578     BOOL m_bExportABitmap;
00579     KernelBitmap *m_pBitmapToExport;
00580 #if FALSE
00581     // for the future "Options" button handling
00582     BitmapExportOptions* m_pOptions; 
00583 #endif
00584 };
00585 
00586 
00587 /**********************************************************************************************************************
00588 
00589 >   class GIFExportFileDialog : public ExportFileDialog
00590 
00591     Author:     Ranbir_Rana (Xara Group Ltd) <camelotdev@xara.com>
00592     Created:    07/07/97
00593     Purpose:    To provide a custom open file dialog for GIF Animation Export.
00594                 This class has been derived because the help system uses the name of the class - 
00595                 in this case, "ExportFileDialog" - to determine which help page the button should link to.
00596                 In order to get this help button to link to a separate "Export Animated GIF" help page, 
00597                 we have created a derived class of "ExportFileDialog" that the Export Animated GIF command can display.
00598                 
00599 **************************************************************************************************************************/
00600 class GIFExportFileDialog : public ExportFileDialog
00601 {
00602     DECLARE_CLASS(GIFExportFileDialog)
00603 
00604 PORTNOTE("other", "Removed MFC junk" )
00605 #if !defined(EXCLUDE_FROM_XARALX)
00606     DECLARE_DYNAMIC(GIFExportFileDialog);
00607 #endif
00608     
00609     public:
00610     GIFExportFileDialog(LPCTSTR lpszFilter);    //Constructor
00611 
00612     virtual BOOL HandleOptions();               // Handle clicking on the options button.
00613 
00614     // This is called by explorer style dialog boxes so that they can be set up ok
00615     virtual BOOL ExplorerInitDialog(wxWindow* hDlg);
00616 };
00617 
00618 #endif  // !INC_FILEDLGS

Generated on Sat Nov 10 03:48:27 2007 for Camelot by  doxygen 1.4.4