File: dummyfilereader.hh

package info (click to toggle)
qdmr 0.13.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,420 kB
  • sloc: cpp: 95,929; xml: 10,749; python: 1,108; makefile: 78; sh: 9
file content (16 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef DUMMYFILEREADER_HH
#define DUMMYFILEREADER_HH

#include "errorstack.hh"

class Codeplug;

/** Just a class implementing the filereader "interface" that fails. */
class DummyFileReader
{
public:
  /** Does not read the specified file. Just returns an error. */
  static bool read(const QString &filename, Codeplug *codeplug, const ErrorStack &err=ErrorStack());
};

#endif // DUMMYFILEREADER_HH