summaryrefslogtreecommitdiff
path: root/dviware/dvi2bitmap/Util.h
blob: e0cf390bef0fb2f60087303ec5efd85385874135 (plain)
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
26
27
28
/* This file is part of dvi2bitmap; see README for copyrights and licence */

#ifndef UTIL_HEADER_READ
#define UTIL_HEADER_READ 1

#include <config.h>

//#include <vector>
#include <list>
#include <string>

#include "DviError.h"
#include "Bitmap.h"
#include "verbosity.h"

typedef STD::list<string> string_list;

namespace Util
{
    string_list& tokenise_string (string str);
    char** string_list_to_array(string_list& l);
    void delete_string_array(char** sl);
    bool parseRGB (Bitmap::BitmapColour&, const char*);

    void verbosity (const verbosities level);
}

#endif /* UTIL_HEADER_READ */