Molybden API
Loading...
Searching...
No Matches
molybden::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< ClipboardDataTypecreate (const std::string &mime_type)
 Creates a new clipboard data type for the given MIME type.
 
static std::shared_ptr< ClipboardDataTypeplainText ()
 Returns the clipboard data type for plain text.
 
static std::shared_ptr< ClipboardDataTypehtml ()
 Returns the clipboard data type for HTML.
 
static std::shared_ptr< ClipboardDataTypertf ()
 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: