3f66f6a5b3
This keyword is not expanded by Git which means it's not replaced with the correct revision value in the releases made using git-based scripts and it's confusing to have lines with unexpanded "$Id$" in the released files. As expanding them with Git is not that simple (it could be done with git archive and export-subst attribute) and there are not many benefits in having them in the first place, just remove all these lines. If nothing else, this will make an eventual transition to Git simpler. Closes #14487. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
42 lines
1.3 KiB
C++
42 lines
1.3 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: reader.h
|
|
// Purpose: Life! pattern reader (writer coming soon)
|
|
// Author: Guillermo Rodriguez Garcia, <guille@iies.es>
|
|
// Modified by:
|
|
// Created: Jan/2000
|
|
// Copyright: (c) 2000, Guillermo Rodriguez Garcia
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _LIFE_READER_H_
|
|
#define _LIFE_READER_H_
|
|
|
|
#include "game.h"
|
|
|
|
// --------------------------------------------------------------------------
|
|
// LifeReader
|
|
// --------------------------------------------------------------------------
|
|
|
|
class LifeReader
|
|
{
|
|
public:
|
|
LifeReader(wxInputStream& is);
|
|
|
|
inline bool IsOk() const { return m_ok; };
|
|
inline wxString GetDescription() const { return m_description; };
|
|
inline wxString GetRules() const { return m_rules; };
|
|
inline wxArrayString GetShape() const { return m_shape; };
|
|
inline LifePattern GetPattern() const
|
|
{
|
|
return LifePattern(wxEmptyString, m_description, m_rules, m_shape);
|
|
};
|
|
|
|
private:
|
|
bool m_ok;
|
|
wxString m_description;
|
|
wxString m_rules;
|
|
wxArrayString m_shape;
|
|
};
|
|
|
|
#endif // _LIFE_READER_H_
|