Line->txt now STL-based.
This commit is contained in:
@@ -96,7 +96,7 @@ bool gclipbrd::openread() {
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
bool gclipbrd::writeclipbrd(char* buf) {
|
||||
bool gclipbrd::writeclipbrd(const char* buf) {
|
||||
|
||||
if(not clipboard_available) {
|
||||
if(fake_clipboard)
|
||||
|
@@ -58,7 +58,7 @@ public:
|
||||
char* read(char* buffer, int maxlen);
|
||||
void close();
|
||||
|
||||
bool writeclipbrd(char* buf);
|
||||
bool writeclipbrd(const char* buf);
|
||||
|
||||
gclipbrd();
|
||||
|
||||
|
@@ -271,7 +271,7 @@ char* g_get_clip_text(void) {
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
int g_put_clip_text(char* buf) {
|
||||
int g_put_clip_text(const char* buf) {
|
||||
|
||||
if(winapi == NOAPI)
|
||||
return -1;
|
||||
|
@@ -64,7 +64,7 @@ void g_set_osicon(void);
|
||||
|
||||
bool g_is_clip_available(void);
|
||||
char* g_get_clip_text(void);
|
||||
int g_put_clip_text(char *cd);
|
||||
int g_put_clip_text(const char *cd);
|
||||
|
||||
void g_get_ostitle_name(char *);
|
||||
void g_set_ostitle_name(char *, int);
|
||||
|
@@ -322,7 +322,7 @@ static void leave_pm_clipboard(int mode) {
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
int g_put_clip_text(char *cd) {
|
||||
int g_put_clip_text(const char *cd) {
|
||||
|
||||
ULONG len;
|
||||
void *text;
|
||||
|
@@ -261,7 +261,7 @@ char* g_get_clip_text(void) {
|
||||
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
int g_put_clip_text(char *Data) {
|
||||
int g_put_clip_text(const char *Data) {
|
||||
|
||||
long DataSize;
|
||||
if((Data != NULL) and ((DataSize = strlen(Data)) != 0)) {
|
||||
|
Reference in New Issue
Block a user