File: ss_cover.hh

package info (click to toggle)
performous 1.1%2Bgit20181118-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,736 kB
  • sloc: cpp: 30,008; ansic: 2,751; sh: 801; xml: 464; python: 374; makefile: 36
file content (18 lines) | stat: -rw-r--r-- 366 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <boost/filesystem/path.hpp>

#include <string>
#include <vector>

namespace fs = boost::filesystem;

class SingstarCover {
  public:
	SingstarCover(const std::string pak_file, unsigned int track_id);
	~SingstarCover();
	void write(const fs::path filename);
  private:
	std::vector<char> m_image;
	unsigned int m_u, m_v , m_width, m_height;
};