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

« back to all changes in this revision

Viewing changes to src/win32/StellaX/GlobalData.hxx

  • Committer: Bazaar Package Importer
  • Author(s): Mario Iseli
  • Date: 2006-04-08 18:38:25 UTC
  • mfrom: (1.1.2 upstream) (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20060408183825-vu1jk57rk929derx
* New Maintainer (Closes: #361345)
* New upstream release (Closes: #349725)
* Build-Depend now on libslang2-dev (Closes: #325577)
* Complete rebuild of debian/, upgraded to policy-standards
  3.6.2 and compat-level 5.
* Removed stellarc since stella only reads ~/.stellarc and even
  works without a first config.
* New debian/watch file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//============================================================================
2
 
//
3
 
//   SSSS    tt          lll  lll          XX     XX
4
 
//  SS  SS   tt           ll   ll           XX   XX
5
 
//  SS     tttttt  eeee   ll   ll   aaaa     XX XX
6
 
//   SSSS    tt   ee  ee  ll   ll      aa     XXX
7
 
//      SS   tt   eeeeee  ll   ll   aaaaa    XX XX
8
 
//  SS  SS   tt   ee      ll   ll  aa  aa   XX   XX
9
 
//   SSSS     ttt  eeeee llll llll  aaaaa  XX     XX
10
 
//
11
 
// Copyright (c) 1995-2000 by Jeff Miller
12
 
// Copyright (c) 2004 by Stephen Anthony
13
 
//
14
 
// See the file "license" for information on usage and redistribution of
15
 
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
16
 
//
17
 
// $Id: GlobalData.hxx,v 1.3 2004/07/15 03:03:27 stephena Exp $
18
 
//============================================================================
19
 
 
20
 
#ifndef GLOBAL_DATA_HXX
21
 
#define GLOBAL_DATA_HXX
22
 
 
23
 
#include "pch.hxx"
24
 
#include "bspf.hxx"
25
 
 
26
 
class CConfigPage;
27
 
class Settings;
28
 
 
29
 
class CGlobalData
30
 
{
31
 
  friend CConfigPage;
32
 
 
33
 
  public:
34
 
    CGlobalData( HINSTANCE hInstance );
35
 
    ~CGlobalData( void );
36
 
 
37
 
    HINSTANCE ModuleInstance( void ) const
38
 
    {
39
 
      return myInstance;
40
 
    }
41
 
 
42
 
    Settings& settings( void )
43
 
    {
44
 
      return *mySettings;
45
 
    }
46
 
 
47
 
  private:
48
 
    Settings* mySettings;
49
 
 
50
 
    HINSTANCE myInstance;
51
 
 
52
 
    CGlobalData( const CGlobalData& );     // no implementation
53
 
    void operator=( const CGlobalData& );  // no implementation
54
 
};
55
 
 
56
 
#endif