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 907 of file sdl_clip.cpp.

908 : _format(format), _mime(mime), _success(false)
909{
910}

Member Function Documentation

◆ format()

uint32_t ClipRequest::format ( ) const

Definition at line 912 of file sdl_clip.cpp.

913{
914 return _format;
915}

◆ formatstr()

std::string ClipRequest::formatstr ( ) const

Definition at line 917 of file sdl_clip.cpp.

918{
919 return ClipboardGetFormatIdString(_format);
920}

◆ mime()

std::string ClipRequest::mime ( ) const

Definition at line 922 of file sdl_clip.cpp.

923{
924 return _mime;
925}

◆ setSuccess()

void ClipRequest::setSuccess ( bool  status)

Definition at line 932 of file sdl_clip.cpp.

933{
934 _success = status;
935}

◆ success()

bool ClipRequest::success ( ) const

Definition at line 927 of file sdl_clip.cpp.

928{
929 return _success;
930}

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