~ubuntu-branches/debian/squeeze/stella/squeeze

« back to all changes in this revision

Viewing changes to src/gui/RomAuditDialog.hxx

  • Committer: Bazaar Package Importer
  • Author(s): Luca Falavigna, Franczen Attila, Luca Falavigna
  • Date: 2008-11-08 12:04:12 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20081108120412-w6xq87vzgokstfey
Tags: 2.6.1-0ubuntu1
[ Franczen Attila ]
* New upstream release (LP: #183571).
* Updated policy to 3.8.0.

[ Luca Falavigna ]
* debian/patches/gcc-4.3: fix FTBFS with gcc-4.3 compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//============================================================================
 
2
//
 
3
//   SSSS    tt          lll  lll       
 
4
//  SS  SS   tt           ll   ll        
 
5
//  SS     tttttt  eeee   ll   ll   aaaa 
 
6
//   SSSS    tt   ee  ee  ll   ll      aa
 
7
//      SS   tt   eeeeee  ll   ll   aaaaa  --  "An Atari 2600 VCS Emulator"
 
8
//  SS  SS   tt   ee      ll   ll  aa  aa
 
9
//   SSSS     ttt  eeeee llll llll  aaaaa
 
10
//
 
11
// Copyright (c) 1995-2008 by Bradford W. Mott and the Stella team
 
12
//
 
13
// See the file "license" for information on usage and redistribution of
 
14
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
 
15
//
 
16
// $Id: RomAuditDialog.hxx,v 1.1 2008/03/14 15:23:24 stephena Exp $
 
17
//
 
18
//   Based on code from ScummVM - Scumm Interpreter
 
19
//   Copyright (C) 2002-2004 The ScummVM project
 
20
//============================================================================
 
21
 
 
22
#ifndef ROM_AUDIT_DIALOG_HXX
 
23
#define ROM_AUDIT_DIALOG_HXX
 
24
 
 
25
class OSystem;
 
26
class GuiObject;
 
27
class DialogContainer;
 
28
class BrowserDialog;
 
29
class EditTextWidget;
 
30
class StaticTextWidget;
 
31
 
 
32
#include "Dialog.hxx"
 
33
#include "Command.hxx"
 
34
#include "FSNode.hxx"
 
35
 
 
36
class RomAuditDialog : public Dialog
 
37
{
 
38
  public:
 
39
    RomAuditDialog(OSystem* osystem, DialogContainer* parent,
 
40
                   const GUI::Font& font, int x, int y, int w, int h);
 
41
    ~RomAuditDialog();
 
42
 
 
43
    void handleCommand(CommandSender* sender, int cmd, int data, int id);
 
44
 
 
45
  private:
 
46
    void loadConfig();
 
47
    void auditRoms();
 
48
    void openBrowser(const string& title, const string& startpath,
 
49
                     FilesystemNode::ListMode mode, int cmd);
 
50
 
 
51
  private:
 
52
    enum {
 
53
      kChooseAuditDirCmd = 'RAsl', // audit dir select
 
54
      kAuditDirChosenCmd = 'RAch'  // audit dir changed
 
55
    };
 
56
 
 
57
    // ROM audit path
 
58
    EditTextWidget* myRomPath;
 
59
 
 
60
    // Show the results of the ROM audit
 
61
    StaticTextWidget* myResults1;
 
62
    StaticTextWidget* myResults2;
 
63
 
 
64
    // Select a new ROM audit path
 
65
    BrowserDialog* myBrowser;
 
66
};
 
67
 
 
68
#endif