FreeRDP
Loading...
Searching...
No Matches
ClipRequest Class Reference

a clipboard format request More...

#include <sdl_clip.hpp>

Public Member Functions

 ClipRequest (UINT32 format, const std::string &mime)
 
 ClipRequest (const ClipRequest &other)=default
 
 ClipRequest (ClipRequest &&other)=default
 
ClipRequestoperator= (const ClipRequest &other)=delete
 
ClipRequestoperator= (ClipRequest &&other)=delete
 
uint32_t format () const
 
std::string formatstr () const
 
std::string mime () const
 
bool success () const
 
void setSuccess (bool status)
 

Detailed Description

a clipboard format request

FreeRDP: A Remote Desktop Protocol Implementation SDL Client keyboard helper

Copyright 2024 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2024 Thincast Technologies GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 38 of file sdl_clip.hpp.

Constructor & Destructor Documentation

◆ ClipRequest()

ClipRequest::ClipRequest ( UINT32  format,
const std::string &  mime 
)

Definition at line 985 of file sdl_clip.cpp.

986 : _format(format), _mime(mime), _success(false)
987{
988}

Member Function Documentation

◆ format()

uint32_t ClipRequest::format ( ) const

Definition at line 990 of file sdl_clip.cpp.

991{
992 return _format;
993}

◆ formatstr()

std::string ClipRequest::formatstr ( ) const

Definition at line 995 of file sdl_clip.cpp.

996{
997 return ClipboardGetFormatIdString(_format);
998}

◆ mime()

std::string ClipRequest::mime ( ) const

Definition at line 1000 of file sdl_clip.cpp.

1001{
1002 return _mime;
1003}

◆ setSuccess()

void ClipRequest::setSuccess ( bool  status)

Definition at line 1010 of file sdl_clip.cpp.

1011{
1012 _success = status;
1013}

◆ success()

bool ClipRequest::success ( ) const

Definition at line 1005 of file sdl_clip.cpp.

1006{
1007 return _success;
1008}

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