~ubuntu-branches/debian/sid/stella/sid

« back to all changes in this revision

Viewing changes to src/gui/GameList.cxx

  • Committer: Package Import Robot
  • Author(s): Stephen Kitt
  • Date: 2013-06-28 09:53:13 UTC
  • mfrom: (1.3.6)
  • Revision ID: package-import@ubuntu.com-20130628095313-j8jkkgxpvx1t18ym
Tags: 3.9-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
// See the file "License.txt" for information on usage and redistribution of
15
15
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
16
16
//
17
 
// $Id: GameList.cxx 2579 2013-01-04 19:49:01Z stephena $
 
17
// $Id: GameList.cxx 2714 2013-05-02 17:06:36Z stephena $
18
18
//
19
19
//   Based on code from KStella - Stella frontend
20
20
//   Copyright (C) 2003-2005 Stephen Anthony
40
40
void GameList::appendGame(const string& name, const string& path,
41
41
                          const string& md5, bool isDir)
42
42
{
43
 
  Entry g;
44
 
  g._name  = name;
45
 
  g._path  = path;
46
 
  g._md5   = md5;
47
 
  g._isdir = isDir;
48
 
 
49
 
  myArray.push_back(g);
 
43
  myArray.push_back(Entry(name, path, md5, isDir));
50
44
}
51
45
 
52
46
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -