MōBrowser API
Loading...
Searching...
No Matches
mobrowser::ClipboardDataType Class Referenceabstract

Represents the type of a clipboard data. More...

#include <clipboard_data.hpp>

Public Member Functions

virtual std::string mimeType () const =0
 Returns the MIME type of the clipboard data.
 
bool operator== (const ClipboardDataType &other) const
 Returns true if the given clipboard data type is equal to this one.
 

Static Public Member Functions

static std::shared_ptr< ClipboardDataType > create (const std::string &mime_type)
 Creates a new clipboard data type for the given MIME type.
 
static std::shared_ptr< ClipboardDataType > plainText ()
 Returns the clipboard data type for plain text.
 
static std::shared_ptr< ClipboardDataType > html ()
 Returns the clipboard data type for HTML.
 
static std::shared_ptr< ClipboardDataType > rtf ()
 Returns the clipboard data type for Rich Text Format (RTF).
 

Detailed Description

Represents the type of a clipboard data.


The documentation for this class was generated from the following file: