]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/filedlg.cpp
Committed William Osborne's wxPalmOS port
[wxWidgets.git] / src / palmos / filedlg.cpp
diff --git a/src/palmos/filedlg.cpp b/src/palmos/filedlg.cpp
new file mode 100644 (file)
index 0000000..747b637
--- /dev/null
@@ -0,0 +1,106 @@
+/////////////////////////////////////////////////////////////////////////////
+// Name:        src/palmos/filedlg.cpp
+// Purpose:     wxFileDialog
+// Author:      William Osborne
+// Modified by:
+// Created:     10/13/04
+// RCS-ID:      $Id: 
+// Copyright:   (c) William Osborne
+// Licence:     wxWindows licence
+/////////////////////////////////////////////////////////////////////////////
+
+// ============================================================================
+// declarations
+// ============================================================================
+
+// ----------------------------------------------------------------------------
+// headers
+// ----------------------------------------------------------------------------
+
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
+    #pragma implementation "filedlg.h"
+#endif
+
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
+#ifdef __BORLANDC__
+    #pragma hdrstop
+#endif
+
+#if wxUSE_FILEDLG && !defined(__SMARTPHONE__)
+
+#ifndef WX_PRECOMP
+    #include "wx/utils.h"
+    #include "wx/msgdlg.h"
+    #include "wx/filedlg.h"
+    #include "wx/filefn.h"
+    #include "wx/intl.h"
+    #include "wx/log.h"
+    #include "wx/app.h"
+#endif
+
+#include "wx/palmos/private.h"
+
+#include <math.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "wx/filename.h"
+#include "wx/tokenzr.h"
+
+#ifndef OFN_EXPLORER
+    #define OFN_EXPLORER 0x00080000
+#endif
+
+// ----------------------------------------------------------------------------
+// constants
+// ----------------------------------------------------------------------------
+
+#define wxMAXPATH   1024
+
+# define wxMAXFILE   1024
+
+# define wxMAXEXT    5
+
+// ============================================================================
+// implementation
+// ============================================================================
+
+IMPLEMENT_CLASS(wxFileDialog, wxFileDialogBase)
+
+// ----------------------------------------------------------------------------
+// wxFileDialog
+// ----------------------------------------------------------------------------
+
+wxFileDialog::wxFileDialog(wxWindow *parent,
+                           const wxString& message,
+                           const wxString& defaultDir,
+                           const wxString& defaultFileName,
+                           const wxString& wildCard,
+                           long style,
+                           const wxPoint& pos)
+             :wxFileDialogBase(parent, message, defaultDir, defaultFileName, wildCard, style, pos)
+
+{
+}
+
+void wxFileDialog::GetPaths(wxArrayString& paths) const
+{
+}
+
+void wxFileDialog::GetFilenames(wxArrayString& files) const
+{
+}
+
+void wxFileDialog::SetPath(const wxString& path)
+{
+}
+
+int wxFileDialog::ShowModal()
+{
+    return wxID_CANCEL;
+}
+
+#endif // wxUSE_FILEDLG
+