aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/glclock/files/patch-MString.H
blob: dc45ba8df70c1c442c88848db8fc7156eecb6173 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
--- MString.H.orig  Thu Jun 22 16:58:26 2000
+++ MString.H   Sun Oct  1 22:32:31 2006
@@ -66,7 +66,7 @@
 #ifndef ___STRING_H___
 #define ___STRING_H___
 
-#include <iostream.h>
+#include <iostream>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -75,6 +75,7 @@
 
 #include "Define.H"
 
+using namespace std;
 
 //#define STRING_DEBUG
 
@@ -407,6 +408,10 @@
     friend String& Cut(String      s) ;
     friend String& Cut(const char *s) ;
 } ;
+
+String Mid(String, int, int) ;
+String Left(const String&, int) ;
+String Right(const String&, int) ;
 
 // À°¿ô¤«¤é String ¤Ø
 String IntToString(int i) ;