projects
/
vuplus_openvuplus
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[filestreamproxy] some bugs fixed.
[vuplus_openvuplus]
/
meta-openvuplus
/
recipes-vuplus
/
png-util
/
files
/
png_util.h
1
#ifndef _PNG_UTIL_H_
2
#define _PNG_UTIL_H_
3
4
#include <unistd.h>
5
#include <stdlib.h>
6
#include <stdio.h>
7
#include <string.h>
8
#include <stdarg.h>
9
#include <fcntl.h>
10
#include <sys/ioctl.h>
11
#include <png.h>
12
13
#if defined(__cplusplus)
14
extern "C" {
15
#endif
16
17
using namespace std;
18
19
class PNGUtil {
20
private:
21
static PNGUtil *instance;
22
int device_fd;
23
24
public :
25
PNGUtil();
26
~PNGUtil();
27
int connect();
28
void disconnect();
29
int send(char* png_file_name);
30
static PNGUtil *getInstance();
31
};
32
33
34
#if defined(__cplusplus)
35
};
36
#endif
37
38
#endif /*_PNG_UTIL_H_*/