FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
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 957 of file sdl_clip.cpp.

958 : _format(format), _mime(mime), _success(false)
959{
960}

Member Function Documentation

◆ format()

uint32_t ClipRequest::format ( ) const

Definition at line 962 of file sdl_clip.cpp.

963{
964 return _format;
965}

◆ formatstr()

std::string ClipRequest::formatstr ( ) const

Definition at line 967 of file sdl_clip.cpp.

968{
969 return ClipboardGetFormatIdString(_format);
970}

◆ mime()

std::string ClipRequest::mime ( ) const

Definition at line 972 of file sdl_clip.cpp.

973{
974 return _mime;
975}

◆ setSuccess()

void ClipRequest::setSuccess ( bool  status)

Definition at line 982 of file sdl_clip.cpp.

983{
984 _success = status;
985}

◆ success()

bool ClipRequest::success ( ) const

Definition at line 977 of file sdl_clip.cpp.

978{
979 return _success;
980}

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