File: SymbolParser.hpp

package info (click to toggle)
vite 1.2%2Bsvn%2Bgit4.c6c0ce7-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 21,544 kB
  • sloc: cpp: 32,343; makefile: 461; sh: 144; ansic: 67
file content (25 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef SYMBOL_PARSER_MATRIX_VISUALIZER_HPP
#define SYMBOL_PARSER_MATRIX_VISUALIZER_HPP

#include "../Formats/SymbolMatrix.hpp"
#include "Parser.hpp"

class SymbolParser : public Parser<symbol_matrix_t>
{
public:
    SymbolParser();

    symbol_matrix_t*    parse(std::string path, symbol_matrix_t *m);
    float               get_percent_loaded() const;

    bool                is_finished() const;
    bool                is_cancelled() const;

    void                set_canceled();
    void                finish();

private:
    float   m_percentage_loaded;
};

#endif