neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::clipboard Class Reference

#include <clipboard.hpp>

Inheritance diagram for neogfx::clipboard:
neogfx::i_clipboard neolib::services::i_service

Public Member Functions

 define_declared_event (Updated, updated) define_declared_event(SinkActivated
 
bool sink_active () const override
 
i_clipboard_sinkactive_sink () override
 
void activate (i_clipboard_sink &aSink) override
 
void deactivate (i_clipboard_sink &aSink) override
 
bool has_text () const override
 
i_string const & text () const override
 
void set_text (i_string const &aText) override
 
bool has_image () const override
 
neogfx::image image () const override
 
void set_image (const neogfx::image &aImage) override
 
void cut () override
 
void copy () override
 
void paste () override
 
void delete_selected () override
 
void select_all () override
 
virtual const i_stringtext () const=0
 
virtual void set_text (i_string const &aText)=0
 
- Public Member Functions inherited from neolib::services::i_service
virtual ~i_service ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from neogfx::i_clipboard
static uuid const & iid ()
 

Detailed Description

Definition at line 29 of file clipboard.hpp.

Member Function Documentation

◆ activate()

void neogfx::clipboard::activate ( i_clipboard_sink aSink)
overridevirtual

Implements neogfx::i_clipboard.

◆ active_sink()

i_clipboard_sink & neogfx::clipboard::active_sink ( )
overridevirtual

Implements neogfx::i_clipboard.

◆ copy()

void neogfx::clipboard::copy ( )
overridevirtual

Implements neogfx::i_clipboard.

◆ cut()

void neogfx::clipboard::cut ( )
overridevirtual

Implements neogfx::i_clipboard.

◆ deactivate()

void neogfx::clipboard::deactivate ( i_clipboard_sink aSink)
overridevirtual

Implements neogfx::i_clipboard.

◆ define_declared_event()

neogfx::clipboard::define_declared_event ( Updated  ,
updated   
)

◆ delete_selected()

void neogfx::clipboard::delete_selected ( )
overridevirtual

Implements neogfx::i_clipboard.

◆ has_image()

bool neogfx::clipboard::has_image ( ) const
overridevirtual

Implements neogfx::i_clipboard.

◆ has_text()

bool neogfx::clipboard::has_text ( ) const
overridevirtual

Implements neogfx::i_clipboard.

◆ image()

neogfx::image neogfx::clipboard::image ( ) const
overridevirtual

Implements neogfx::i_clipboard.

◆ paste()

void neogfx::clipboard::paste ( )
overridevirtual

Implements neogfx::i_clipboard.

◆ select_all()

void neogfx::clipboard::select_all ( )
overridevirtual

Implements neogfx::i_clipboard.

◆ set_image()

void neogfx::clipboard::set_image ( const neogfx::image aImage)
overridevirtual

Implements neogfx::i_clipboard.

◆ set_text() [1/2]

void neogfx::clipboard::set_text ( i_string const &  aText)
overridevirtual

Implements neogfx::i_clipboard.

◆ set_text() [2/2]

virtual void neogfx::i_clipboard::set_text ( i_string const &  aText)
virtual

Implements neogfx::i_clipboard.

◆ sink_active()

bool neogfx::clipboard::sink_active ( ) const
overridevirtual

Implements neogfx::i_clipboard.

◆ text() [1/2]

i_string const & neogfx::clipboard::text ( ) const
overridevirtual

Implements neogfx::i_clipboard.

◆ text() [2/2]

virtual const i_string & neogfx::i_clipboard::text ( ) const
virtual

Implements neogfx::i_clipboard.


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