Update copyright date; remove old CVS keyword
[ctsim.git] / src / tips.h
1 /*****************************************************************************
2 ** FILE IDENTIFICATION
3 **
4 **   Name:          tips.h
5 **   Purpose:       Header file for user tips
6 **   Programmer:    Kevin Rosenberg
7 **   Date Started:  February 2001
8 **
9 **  This is part of the CTSim program
10 **  Copyright (C) 1983-2009 Kevin Rosenberg
11 **
12 **  This program is free software; you can redistribute it and/or modify
13 **  it under the terms of the GNU General Public License (version 2) as
14 **  published by the Free Software Foundation.
15 **
16 **  This program is distributed in the hope that it will be useful,
17 **  but WITHOUT ANY WARRANTY; without even the implied warranty of
18 **  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 **  GNU General Public License for more details.
20 **
21 **  You should have received a copy of the GNU General Public License
22 **  along with this program; if not, write to the Free Software
23 **  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24 ******************************************************************************/
25
26
27 #include <wx/tipdlg.h>
28
29
30 class CTSimTipProvider : public wxTipProvider
31 {
32 private:
33   static const char* const s_aszTips[];
34   static const size_t s_iNumTips;
35
36   size_t m_iCurrentTip;
37
38 public:
39   CTSimTipProvider(size_t currentTip);
40
41   virtual wxString GetTip();
42   size_t GetCurrentTip();
43 };