]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/clipbrd.cpp
Remove Palm OS port.
[wxWidgets.git] / src / palmos / clipbrd.cpp
diff --git a/src/palmos/clipbrd.cpp b/src/palmos/clipbrd.cpp
deleted file mode 100644 (file)
index 4987714..0000000
+++ /dev/null
@@ -1,198 +0,0 @@
-/////////////////////////////////////////////////////////////////////////////
-// Name:        src/palmos/clipbrd.cpp
-// Purpose:     Clipboard functionality
-// Author:      William Osborne - minimal working wxPalmOS port
-// Modified by:
-// Created:     10/13/04
-// RCS-ID:      $Id$
-// Copyright:   (c) William Osborne
-// Licence:     wxWindows licence
-/////////////////////////////////////////////////////////////////////////////
-
-// ===========================================================================
-// declarations
-// ===========================================================================
-
-// ---------------------------------------------------------------------------
-// headers
-// ---------------------------------------------------------------------------
-
-// For compilers that support precompilation, includes "wx.h".
-#include "wx/wxprec.h"
-
-#ifdef __BORLANDC__
-    #pragma hdrstop
-#endif
-
-#if wxUSE_CLIPBOARD
-
-#include "wx/clipbrd.h"
-
-#ifndef WX_PRECOMP
-    #include "wx/object.h"
-    #include "wx/event.h"
-    #include "wx/app.h"
-    #include "wx/frame.h"
-    #include "wx/bitmap.h"
-    #include "wx/utils.h"
-    #include "wx/intl.h"
-    #include "wx/log.h"
-    #include "wx/dataobj.h"
-#endif
-
-#if wxUSE_METAFILE
-    #include "wx/metafile.h"
-#endif
-
-#include <string.h>
-
-#include "wx/palmos/private.h"
-
-#if wxUSE_WXDIB
-    #include "wx/palmos/dib.h"
-#endif
-
-#if wxUSE_OLE && !defined(__WXWINCE__)
-    // use OLE clipboard
-    #define wxUSE_OLE_CLIPBOARD 1
-#else // !wxUSE_DATAOBJ
-    // use Win clipboard API
-    #define wxUSE_OLE_CLIPBOARD 0
-#endif
-
-#if wxUSE_OLE_CLIPBOARD
-    #include <ole2.h>
-#endif // wxUSE_OLE_CLIPBOARD
-
-// ===========================================================================
-// implementation
-// ===========================================================================
-
-// ---------------------------------------------------------------------------
-// old-style clipboard functions
-// ---------------------------------------------------------------------------
-
-static bool gs_wxClipboardIsOpen = false;
-
-bool wxOpenClipboard()
-{
-    return false;
-}
-
-bool wxCloseClipboard()
-{
-    return false;
-}
-
-bool wxEmptyClipboard()
-{
-    return false;
-}
-
-bool wxIsClipboardOpened()
-{
-    return false;
-}
-
-bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat)
-{
-    return false;
-}
-
-
-bool wxSetClipboardData(wxDataFormat dataFormat,
-                        const void *data,
-                        int width, int height)
-{
-    return false;
-}
-
-void *wxGetClipboardData(wxDataFormat dataFormat, long *len)
-{
-    void *retval = NULL;
-
-    return retval;
-}
-
-wxDataFormat wxEnumClipboardFormats(wxDataFormat dataFormat)
-{
-  return (wxDataFormat::NativeFormat)::EnumClipboardFormats(dataFormat);
-}
-
-int wxRegisterClipboardFormat(wxChar *formatName)
-{
-  return ::RegisterClipboardFormat(formatName);
-}
-
-bool wxGetClipboardFormatName(wxDataFormat dataFormat,
-                              wxChar *formatName,
-                              int maxCount)
-{
-  return false;
-}
-
-// ---------------------------------------------------------------------------
-// wxClipboard
-// ---------------------------------------------------------------------------
-
-IMPLEMENT_DYNAMIC_CLASS(wxClipboard, wxObject)
-
-wxClipboard::wxClipboard()
-{
-    m_clearOnExit = false;
-    m_isOpened = false;
-}
-
-wxClipboard::~wxClipboard()
-{
-    if ( m_clearOnExit )
-    {
-        Clear();
-    }
-}
-
-void wxClipboard::Clear()
-{
-}
-
-bool wxClipboard::Flush()
-{
-    return false;
-}
-
-bool wxClipboard::Open()
-{
-    return wxOpenClipboard();
-}
-
-bool wxClipboard::IsOpened() const
-{
-    return wxIsClipboardOpened();
-}
-
-bool wxClipboard::SetData( wxDataObject *data )
-{
-    return false;
-}
-
-bool wxClipboard::AddData( wxDataObject *data )
-{
-    return false;
-}
-
-void wxClipboard::Close()
-{
-    wxCloseClipboard();
-}
-
-bool wxClipboard::IsSupported( wxDataFormat format )
-{
-    return wxIsClipboardFormatAvailable(format);
-}
-
-bool wxClipboard::GetData( wxDataObject& data )
-{
-    return false;
-}
-
-#endif // wxUSE_CLIPBOARD