Line->txt now STL-based.

This commit is contained in:
Alexander S. Aganichev
2000-03-22 17:59:18 +00:00
parent 99bd4b886f
commit 5b4f35d9ed
35 changed files with 518 additions and 687 deletions

View File

@@ -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)

View File

@@ -58,7 +58,7 @@ public:
char* read(char* buffer, int maxlen);
void close();
bool writeclipbrd(char* buf);
bool writeclipbrd(const char* buf);
gclipbrd();

View File

@@ -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;

View File

@@ -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);

View File

@@ -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;

View File

@@ -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)) {