mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
79d933ec34
Backed out changeset 463d676df5da (bug 1399787) Backed out changeset fc9776a2605d (bug 1399787) Backed out changeset 2e91a90dfbc3 (bug 1399787) Backed out changeset e82ab72f71ee (bug 1399787) Backed out changeset d7fef200e8b9 (bug 1399787) Backed out changeset a7d70f7f3335 (bug 1399787) Backed out changeset 2800f9d20d96 (bug 1399787) Backed out changeset 9dfa404abf9d (bug 1399787) Backed out changeset 09b3c172a01e (bug 1399787) Backed out changeset f9fd3e750636 (bug 1399787) Backed out changeset 01284c55bf8a (bug 1399787) Backed out changeset c2ab1b454283 (bug 1399787) Backed out changeset e7bfa51404c5 (bug 1399787) Backed out changeset 3fd2a734f887 (bug 1399787) Backed out changeset ef21f295db3f (bug 1399787) Backed out changeset c186893ce0fc (bug 1399787) Backed out changeset 323da3bddaaa (bug 1399787) Backed out changeset 3b89f189edff (bug 1399787) Backed out changeset a47bd86c35ee (bug 1399787) Backed out changeset 558526301a4c (bug 1399787) Backed out changeset baa99fb50ba9 (bug 1399787) Backed out changeset 6d82ed0ba805 (bug 1399787)
47 lines
1.1 KiB
C++
47 lines
1.1 KiB
C++
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef nsBaseClipboard_h__
|
|
#define nsBaseClipboard_h__
|
|
|
|
#include "nsIClipboard.h"
|
|
#include "nsITransferable.h"
|
|
#include "nsCOMPtr.h"
|
|
|
|
class nsITransferable;
|
|
class nsIClipboardOwner;
|
|
class nsIWidget;
|
|
|
|
/**
|
|
* Native Win32 BaseClipboard wrapper
|
|
*/
|
|
|
|
class nsBaseClipboard : public nsIClipboard
|
|
{
|
|
|
|
public:
|
|
nsBaseClipboard();
|
|
|
|
//nsISupports
|
|
NS_DECL_ISUPPORTS
|
|
|
|
// nsIClipboard
|
|
NS_DECL_NSICLIPBOARD
|
|
|
|
protected:
|
|
virtual ~nsBaseClipboard();
|
|
|
|
NS_IMETHOD SetNativeClipboardData ( int32_t aWhichClipboard ) = 0;
|
|
NS_IMETHOD GetNativeClipboardData ( nsITransferable * aTransferable, int32_t aWhichClipboard ) = 0;
|
|
|
|
bool mEmptyingForSetData;
|
|
bool mIgnoreEmptyNotification;
|
|
nsCOMPtr<nsIClipboardOwner> mClipboardOwner;
|
|
nsCOMPtr<nsITransferable> mTransferable;
|
|
};
|
|
|
|
#endif // nsBaseClipboard_h__
|
|
|