~ampelbein/+junk/fix-granule-deb-701292

« back to all changes in this revision

Viewing changes to src/VDeck.h

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2008-03-06 23:21:27 UTC
  • mfrom: (1.2.2 upstream) (2.1.4 gutsy)
  • Revision ID: james.westby@ubuntu.com-20080306232127-93bghuc4e7r8d3j3
Tags: 1.3.0-1
* New upstream release.
* debian/control: 
  - Add Homepage and Vcs-* headers.
  - Upgrade Standards Version to 3.7.3.
  - Build-Depend on the new libassa.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
//------------------------------------------------------------------------------
3
3
//                              VDeck.h
4
4
//------------------------------------------------------------------------------
5
 
// $Id: VDeck.h,v 1.8 2006/08/30 12:22:36 vlg Exp $
 
5
// $Id: VDeck.h,v 1.11 2007/11/26 03:58:32 vlg Exp $
6
6
//
7
7
//  Copyright (c) 2004,2006 by Vladislav Grinchenko
8
8
//
60
60
        virtual void erase     (cardlist_iterator iter_) = 0;
61
61
        virtual bool erase     (VCard* card_)            = 0;
62
62
 
63
 
        virtual void play_card (VDeck::cardlist_iterator& iter_) = 0;
64
 
 
65
 
        virtual const string&  get_name (void) const = 0;
 
63
        virtual void play_card (SideSelection side_,
 
64
                                                        VDeck::cardlist_iterator& iter_) = 0;
 
65
 
 
66
        virtual const string&  get_name () const = 0;
 
67
 
66
68
        virtual int get_index () const { return -1; }
67
69
 
68
70
        /** Report percent of the cards already processed. For Deck, its
82
84
        /// Reset progress parameters (size/index)
83
85
        virtual void reset_progress () { /* no-op */ }
84
86
 
 
87
        /** Does Deck dictate its own custom appearance?
 
88
         *  This is only true for *real* decks.
 
89
         */
 
90
        virtual bool with_custom_appearance () const { return false; }
 
91
 
85
92
        /** Side selection indicates whether to show the Front or the Back
86
93
                of each card in the Deck. This works for both the Deck as well as
87
94
                CardDeck.