new parameter of dataexch
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
#ifndef NANA_SYSTEM_DATAEXCH_HPP
|
||||
#define NANA_SYSTEM_DATAEXCH_HPP
|
||||
#include <nana/basic_types.hpp>
|
||||
#include <nana/gui/basis.hpp>
|
||||
|
||||
namespace nana{
|
||||
|
||||
@@ -31,15 +31,15 @@ namespace system{
|
||||
text, pixmap
|
||||
};
|
||||
|
||||
void set(const std::string & text_utf8);
|
||||
void set(const std::wstring& text);
|
||||
void set(const std::string & text_utf8, native_window_type owner = nullptr);
|
||||
void set(const std::wstring& text, native_window_type owner = nullptr);
|
||||
|
||||
bool set(const nana::paint::graphics& g);
|
||||
bool set(const nana::paint::graphics& g, native_window_type owner = nullptr);
|
||||
|
||||
void get(std::string& text_utf8);
|
||||
void get(std::wstring& text);
|
||||
private:
|
||||
bool _m_set(format, const void* buf, std::size_t size);
|
||||
bool _m_set(format, const void* buf, std::size_t size, native_window_type);
|
||||
void* _m_get(format, size_t& size);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user