]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/myString.h
Introduced the new mystring clas and attempted to use it in a list
[irc/gameservirc.git] / gameserv / myString.h
index fb4660d9486a9579d96dae7873ccb82d12d5c4a0..dba92522586597bfda137b107d48c3a77346aad1 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef MYSTRING_H
 #define MYSTRING_H
+#include <string.h>
 
 class myString {
 public:
@@ -8,6 +9,7 @@ public:
     void setString(char *s);
     char *getString() { return string; };
     unsigned int len() { return strlen(string); };
+    bool isNULL() { return string == NULL; };
 
 private:
     char *string;