diff options
author | Thomas Günther <tom@toms-cafe.de> | 2007-09-22 01:01:10 +0200 |
---|---|---|
committer | Thomas Günther <tom@toms-cafe.de> | 2007-09-22 01:01:10 +0200 |
commit | 135a8c9447ca19c4d609373b228bd096a2ae2ab8 (patch) | |
tree | 1f24e7f3d0d4531d1a5bd705b89c40e7c3c29d33 /deck.cpp | |
parent | b39a6bf3e7add336dbb127394e8c611ec1d29cd6 (diff) | |
download | vdr-plugin-spider-135a8c9447ca19c4d609373b228bd096a2ae2ab8.tar.gz vdr-plugin-spider-135a8c9447ca19c4d609373b228bd096a2ae2ab8.tar.bz2 |
Added namespaces
Diffstat (limited to 'deck.cpp')
-rw-r--r-- | deck.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -17,7 +17,7 @@ * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * - * $Id: deck.cpp 94 2007-09-20 23:43:48Z tom $ + * $Id: deck.cpp 95 2007-09-21 23:01:10Z tom $ */ #include "deck.h" @@ -25,6 +25,8 @@ #include <vdr/tools.h> #include <stdlib.h> +using namespace Spider; + /** Random number 0 .. max-1 */ unsigned int rand(unsigned int max) @@ -34,7 +36,7 @@ unsigned int rand(unsigned int max) } -/** --- class Deck --------------------------------------------------------- **/ +//--- class Spider::Deck ------------------------------------------------------- /** Constructor */ Deck::Deck(int cards, int suits, int decks) : @@ -73,7 +75,7 @@ void Deck::shuffle() } -/** --- class Card --------------------------------------------------------- **/ +//--- class Spider::Card ------------------------------------------------------- /** Constructor */ Card::Card(int s, int r) |