From: curt Date: Tue, 29 Sep 1998 14:54:57 +0000 (+0000) Subject: added a working() method. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9ae48c2d7d22b7c4565681f25bece3d1d8740242;p=simgear.git added a working() method. --- diff --git a/src/sl.h b/src/sl.h index ab141bd7..dd026b7f 100644 --- a/src/sl.h +++ b/src/sl.h @@ -112,6 +112,7 @@ public: void play ( void *buffer, size_t length ) { write ( buffer, length ) ; } + int working () { return !error ; } int not_working () { return error ; } int getBps () { return bps ; }