PageRenderTime 14ms CodeModel.GetById 7ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/decoders/decoder.d

http://github.com/wilkie/djehuty
D | 31 lines | 15 code | 7 blank | 9 comment | 0 complexity | 8afa5baed68170297b51e6cc4b3a4443 MD5 | raw file
 1/*
 2 * decoder.d
 3 *
 4 * This file implements the base class for all decoders.
 5 *
 6 * Author: Dave Wilkinson
 7 *
 8 */
 9
10module decoders.decoder;
11
12import core.time;
13import core.string;
14import core.definitions;
15
16// Description: Base class for all codecs
17class Decoder {
18	string name() {
19		return "Unknown Codec";
20	}
21
22protected:
23
24	int decoderState = 0;
25	int decoderNextState = 0;
26
27	int decoderSubState = 0;
28	int decoderNextSubState = 0;
29
30	int decoderFrameState = 0;
31}