1 /*
2  * (C) Copyright 2004-2015 Diomidis Spinellis
3  *
4  * This file is part of CScout.
5  *
6  * CScout is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * CScout is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with CScout.  If not, see <http://www.gnu.org/licenses/>.
18  *
19  *
20  * The CScout logo access functions
21  *
22  */
23 
24 #ifndef LOGO_
25 #define LOGO_
26 
27 #include <cstdio>
28 
29 using namespace std;
30 
31 class Logo {
32 private:
33 	static const unsigned char logo_bytes[];
34 	static int len;
35 public:
logo(FILE * fo)36 	static void logo(FILE *fo) {
37 		fwrite(logo_bytes, len, 1, fo);
38 	}
39 };
40 
41 #endif // LOGO_
42