aboutsummaryrefslogtreecommitdiffstats
path: root/ncpd/ncp.h
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2002-07-14 19:08:08 +0000
committerFritz Elfert <felfert@to.com>2002-07-14 19:08:08 +0000
commit28e01b8c6a137a9e98d95689be3d3d72be18d9d7 (patch)
treef011d3dba1f05cc8c08b582ba4b9568d3dfc94af /ncpd/ncp.h
parent838b2558b635d0ec27785e1280904fdea61bc935 (diff)
downloadplptools-28e01b8c6a137a9e98d95689be3d3d72be18d9d7.tar.gz
plptools-28e01b8c6a137a9e98d95689be3d3d72be18d9d7.tar.bz2
plptools-28e01b8c6a137a9e98d95689be3d3d72be18d9d7.zip
- Non-KDE stuff now builds correctly with gcc3
Diffstat (limited to 'ncpd/ncp.h')
-rw-r--r--ncpd/ncp.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/ncpd/ncp.h b/ncpd/ncp.h
index 5a6a1ba..fba51e5 100644
--- a/ncpd/ncp.h
+++ b/ncpd/ncp.h
@@ -46,12 +46,13 @@ class channel;
*/
class PcServer {
public:
- PcServer(ppsocket *, string _name) { name = _name; }
+ PcServer(ppsocket *, std::string _name) { name = _name; }
~PcServer() {}
bool clientConnect(int, int) { return false; }
- string getName() { return name; }
+ std::string getName() { return name; }
+ PcServer *self() { return this; }
private:
- string name;
+ std::string name;
};
class ncp {
@@ -111,7 +112,7 @@ private:
short int protocolVersion;
linkChan *lChan;
int maxChannels;
- vector<PcServer> pcServers;
+ std::vector<PcServer> pcServers;
};
#endif