summaryrefslogtreecommitdiffstats
path: root/widget/nsClipboardHelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'widget/nsClipboardHelper.h')
-rw-r--r--widget/nsClipboardHelper.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/widget/nsClipboardHelper.h b/widget/nsClipboardHelper.h
new file mode 100644
index 000000000..71c3aa60f
--- /dev/null
+++ b/widget/nsClipboardHelper.h
@@ -0,0 +1,32 @@
+/* -*- 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 nsClipboardHelper_h__
+#define nsClipboardHelper_h__
+
+// interfaces
+#include "nsIClipboardHelper.h"
+
+// basics
+#include "nsString.h"
+
+/**
+ * impl class for nsIClipboardHelper, a helper for common uses of nsIClipboard.
+ */
+
+class nsClipboardHelper : public nsIClipboardHelper
+{
+ virtual ~nsClipboardHelper();
+
+public:
+
+ NS_DECL_ISUPPORTS
+ NS_DECL_NSICLIPBOARDHELPER
+
+ nsClipboardHelper();
+};
+
+#endif // nsClipboardHelper_h__