~ubuntu-branches/ubuntu/raring/mame/raring-proposed

« back to all changes in this revision

Viewing changes to src/lib/formats/hxcmfm_dsk.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jordi Mallach, Emmanuel Kasper
  • Date: 2011-12-19 22:56:27 UTC
  • mfrom: (0.1.2)
  • Revision ID: package-import@ubuntu.com-20111219225627-ub5oga1oys4ogqzm
Tags: 0.144-1
[ Jordi Mallach ]
* Fix syntax errors in DEP5 copyright file (lintian).
* Use a versioned copyright Format specification field.
* Update Vcs-* URLs.
* Move transitional packages to the new metapackages section, and make
  them priority extra.
* Remove references to GNU/Linux and MESS sources from copyright.
* Add build variables for s390x.
* Use .xz tarballs as it cuts 4MB for the upstream sources.
* Add nplayers.ini as a patch. Update copyright file to add CC-BY-SA-3.0.

[ Emmanuel Kasper ]
* New upstream release. Closes: #651538.
* Add Free Desktop compliant png icons of various sizes taken from
  the hydroxygen iconset
* Mess is now built from a new source package, to avoid possible source
  incompatibilities between mame and the mess overlay.
* Mame-tools are not built from the mame source package anymore, but
  from the mess source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*********************************************************************
 
2
 
 
3
    formats/hxcmfm_dsk.h
 
4
 
 
5
    HxC Floppy Emulator disk images
 
6
 
 
7
*********************************************************************/
 
8
 
 
9
#ifndef HXCMFM_DSK_H
 
10
#define HXCMFM_DSK_H
 
11
 
 
12
#include "flopimg.h"
 
13
 
 
14
class mfm_format : public floppy_image_format_t
 
15
{
 
16
public:
 
17
        mfm_format();
 
18
 
 
19
        virtual int identify(io_generic *io);
 
20
        virtual bool load(io_generic *io, floppy_image *image);
 
21
        virtual bool save(io_generic *io, floppy_image *image);
 
22
 
 
23
        virtual const char *name() const;
 
24
        virtual const char *description() const;
 
25
        virtual const char *extensions() const;
 
26
        virtual bool supports_save() const;
 
27
};
 
28
 
 
29
extern const floppy_format_type FLOPPY_MFM_FORMAT;
 
30
 
 
31
#endif /* HXCMFM_DSK_H */