diff options
author | Fritz Elfert <felfert@to.com> | 2000-08-02 18:26:29 +0000 |
---|---|---|
committer | Fritz Elfert <felfert@to.com> | 2000-08-02 18:26:29 +0000 |
commit | d439bc3807b3f7cea0544899ee5fc8d849bf32df (patch) | |
tree | 5c28e89d19cc8c5cf7759dc4ae0082e21151fe0a /lib/rpcs16.h | |
parent | 83757d37b7cfb7ef6da178a26b9a203d1b65e0af (diff) | |
download | plptools-d439bc3807b3f7cea0544899ee5fc8d849bf32df.tar.gz plptools-d439bc3807b3f7cea0544899ee5fc8d849bf32df.tar.bz2 plptools-d439bc3807b3f7cea0544899ee5fc8d849bf32df.zip |
Added a wrapper for enums and changed all return-code related stuff
as well as some other enums to use that instead of plain enums.
This results in stronger type checking, range checking and the
ability to write an enum's textual representation.
Diffstat (limited to 'lib/rpcs16.h')
-rw-r--r-- | lib/rpcs16.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rpcs16.h b/lib/rpcs16.h index c803fff..efc6b99 100644 --- a/lib/rpcs16.h +++ b/lib/rpcs16.h @@ -11,8 +11,8 @@ class rpcs16 : public rpcs { rpcs16(ppsocket *); ~rpcs16(); - int queryDrive(const char, bufferArray &); - int getCmdLine(const char *, bufferStore &); + Enum<rfsv::errs> queryDrive(const char, bufferArray &); + Enum<rfsv::errs> getCmdLine(const char *, bufferStore &); }; #endif |